且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

[UWP]使用打包为.vsix的.dll时,找不到指定的模块异常

更新时间:2022-06-26 06:19:06

Ganesh,

Hi Ganesh,

不确定如何添加.VSIX作为对WinPhone项目的引用. .vsix只不过是VS扩展的部署机制.本质上,它是一个带有清单和有效负载的.zip文件.我怀疑您的意思是您要添加对此的引用 sdk dll.

Not sure how you add a .VSIX as a reference to a WinPhone project. A .vsix is nothing more than a deployment mechanism for a VS extension. Essentially, it's a .zip file with a manifest and payload. I suspect you meant you are adding a reference to this sdk dll.

此外,仅因为您引用了程序集或dll,并不意味着它随应用程序一起部署.我怀疑您只需要通过将复制本地"设置为复制本地"来将程序集复制到同一目录即可.装配参考上的属性 变为真实.

Additionally, just because you reference an assembly or dll, doesn't mean it gets deployed with your application. I suspect you just need to copy the assembly to the same directory by setting the "Copy Local" property on the assembly reference to true.

此致