Answer the question
In order to leave comments, you need to log in
How to remove System.IO.FileLoadException?
I downloaded the VK.NET library from the official site, from here: https://vknet.github.io/vk/
I unpack the
*.dll library from the *.nupkg file with the *.dll archiver.
I add to the project, I try to compile the simplest example.
The code crashes with an exception:
System.IO.FileLoadException: Failed to load file or assembly 'HtmlAgilityPack, Version=1.4.9.0, Culture=neutral, PublicKeyToken=bd319b19eaf3b43a' or one of their dependencies
Conflicts were found between different versions of the same dependent assembly. (MSB3247)
Answer the question
In order to leave comments, you need to log in
No need to download anything from sites and unpack.
Open your project in Visual Studio and immediately go to the nuget package manager and from there find and install what you need.
VK.NET and HtmlAgilityPack are there.
https://www.nuget.org/packages/
Everything happens automatically including updates and dependencies. That's why nuget was invented.
Understanding NuGet
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question