Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VSIX: Unmanaged DLL inside VSIX can't be found from extension

$
0
0

I have a Visual Studio extension which depends on an unmanaged DLL. This DLL isn't a COM DLL or anything like that- it just exports some C functions. I succeeded in including the DLL in the VSIX, but when I use P/Invoke with DLLImport attribute, it claims that it cannot find the DLL, even though it's right there in the VSIX. I renamed the VSIX extension to .zip and unpacked it manually just to confirm that the DLL is in fact in there, and it is.

How can I set my package so that I can find the DLL which is packaged in the VSIX?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>