VSIX extension - Change Path of DLL

痴心易碎 提交于 2019-12-06 16:06:29

Is it possible to include the dll directly to the VSIX?

Yes, but you should make sure that the dll is redistributable.

  • Add the dll to your extension project as file instead of reference(Add->Existing Item).
  • Set its property "Build action" to Content on the Properties window.
  • Set its property "Include in VSIX" to True on the Properties window.

Then build the extension project, you can check the dll file in the .vsix file (Rename the .vsix file to .vsix.zip file and open it to check).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!