How to include assemblies from NuGet packages in a VSIX Installer?

后端 未结 4 1289
感动是毒
感动是毒 2021-01-04 02:42

I\'m working on creating a Visual Studio 2017 custom Check-In Policy extension. My current solution is structured as follows:

Note: I am taking advantage of

4条回答
  •  醉酒成梦
    2021-01-04 03:10

    The option that works for Visual Studio 2017 is NuGet packages referenced via PackageReference don't include DLLs in VSIX. However, use the version suggested by the author:

    
      
        
      
    
    

    Don't try the version suggested by Simon Mourier. That may have worked in VS 2015, but it doesn't work now. Also note that this solution is for the PackageReference version of NuGet. It may work for the packages.config, but I didn't have the patience to test it out.

提交回复
热议问题