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

[UWP]The specified module could not be found Exception when using .dll packaged as a .vsix

$
0
0

I am trying to port my Windows Phone 8 app to Windows 10. Our company provides music recognition & discovery services. We have our native SDK written in C/C++. We package this SDK .dll as a .vsix package. We provide this .vsix extension along with a sample application for developer's reference. 

I create this .vsix package & install it. I then "Add Reference" in my sample & select this .vsix so that it gets added as a Reference in the sample. All this is working fine. VS is able to see the symbols, exposed by our dll & I am able to build the app successfully.

The problem arises when I run the sample app. When sample tries to use any of the symbols, it gets an Exception with the following message "The specified module could not be found. (Exception from HRESULT:0x8007007E);null"

Looks like VS is able to find the dll during build/compile time but unable to use it during run time. 
Where does VS copy the dll which is packaged in a .vsix extension in this case?

We used to same architecture(package our dll as a .vsix extension) with WinPhone8 solution as well & it all used to work well.
Any help will be highly appreciated.

Thanks,

Ganesh



Viewing all articles
Browse latest Browse all 4410

Trending Articles



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