.NET app failing to provide all dependencies

  • Thread starter Thread starter PRMdev
  • Start date Start date
P

PRMdev

Guest

I have an issue with a c++ library that is part of a .net wpf app. To deliver this app we use the click once publish method. We get the following error message on a few machines, but not all. Even on identical machines, one will work and find all the C++ runtime libraries reqired and another will not.

The error we get is this:


"Unable to load ourlibrary.dll or one of its dependencies".

Using a dependency walker we found that certain dlls were listed as missing but looking in "c:\\Windows\\System32" the dlls were available. We did include c++ runtime libraries as part of the click once installation, but it still didn't work. The only thing that fixed it is downloading the visual studio c++ build tools. Even just running it from visual studio, displays the same error, on the machines that it did not work on.

We can get this to work by getting our users to install the visual studio - c++ build tools but this isn't an acceptable solution for our users. Has any one on here, had this issue or anything similar before? Is there a way to fix this issue without making users install c++ build tools?


Continue reading...
 
Back
Top