Could not find link to external link DLL for Clickonce

I am trying to deploy an application written in wpf c #. I am using an external library (irrklang). I added a link to the visual studio for this DLL (it is placed in the same folder as the executable file). It appears in my application files, I deploy, install on another machine, and I get an exception not found in the file. I looked at the exe folder and the dll is in the folder.

What am I doing wrong, the link seems to be correct, but the program does not find the DLL at all

UPDATE: added solution below. Another mistake: (

+3
source share
2 answers

. Found, an external dll requires the visual studio to be redistributable.

0

:

  • DLL → = true
  • → ClickOnce → ApplicationFiles → , dll ​​ "".

. ClickOnce .

+5

Source: https://habr.com/ru/post/1759812/


All Articles