IMSBuildNuGetProjectSystem implementation

I am trying to update nuget packages using NuGet.ProjectManagement To call update method I need to create instance of MSBuildNuGetProject but I cannot because I cannot find IMSBuildNuGetProjectSystem implementation.

Does somebody know where to find it?

Upvotes: 0

Views: 84

Answers (2)

Instead of implementing own class I have used implementation from Nuget.exe. I have installed the NuGet.CommandLine package and manually added a reference to Nuget.exe

Upvotes: 1

Matt Ward
Matt Ward

Reputation: 47987

You will need to write your own class that implements the IMSBuildNuGetProjectSystem interface.

If you look at the source code you can see a VSMSBuildNuGetProjectSystem class that is implemented for Visual Studio.

Upvotes: 0

Related Questions