Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install nupkg programmatically with envDTE

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

like image 354
Yolofy Avatar asked Nov 18 '25 08:11

Yolofy


1 Answers

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

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

like image 124
bricelam Avatar answered Nov 20 '25 21:11

bricelam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!