Reputation: 699
I'm trying to deploy an application written in wpf c#. I use an external library (irrklang). I added a reference in visual studio to that dll (it is placed in the same folder as the executable). It shows up in my application files, I deploy, install on a different machine and I get the file not found exception. I looked up the exe folder and the DLL is in the folder.
What am I doing wrong, the reference seems to be correct but the program isn't finding the dll at all
UPDATE: added solution below. Still same error:(
Upvotes: 4
Views: 3744
Reputation: 699
Found it, the external dll requires the visual studio redistributable.
Upvotes: 0
Reputation: 1849
Check the following points:
Then try again. ClickOnce often has annoying bugs.
Upvotes: 5