I'm creating a scaffolding tool and want to install a nuget package in a certain project from an EnvDTE extension. Is this possible?

有帮助吗?

解决方案

Yes. Use the method described in Invoking NuGet Services from inside Visual Studio.

In particular, look at the methods on the IVsPackageInstaller service.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top