.NET: how to solve the “Could not load file or assembly ‘SharpSvn.DLL’ or one of its dependencies. The specified module could not be found.”
I was adding a new function to an existing application, and I needed to first produce reports using a Windows service, and put them in a repository so that I could consult them using the web application, making it possible for me to analyze the data over time, afterwards. I chose sharpSvn for the task.
I simply installed the relevant NuGet package for my project on my development station, “sharpSvn 64". It was fairly easy to use.
I tested it, and everything went very well.
However, when I launched the service, I have to say that things did not go so well. I got the famous "Could not load file or assembly 'SharpSvn.DLL' or one of its dependencies. The specified module could not be found." error.
I had the right dll version, though, and the application was the same version as the NuGet package I had downloaded and installed.
It turns out that what was missing on the launch server was the "Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)"
You like this article?
Don't miss one!
our weekly newsletter.