Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Group Main was not found when calling Dependencies.Remove for last dependency #1950
Programmatically removing the last NuGet package from a paket.dependencies file, using Dependencies.Remove, throws an 'Group Main was not found' exception.
Paket version: 3.21.4
3, Then programatically remove the NUnit NuGet package using code similar to the following C# code:
The NuGet package is removed from the paket.dependencies file without any exception.
The NuGet package is removed from the paket.dependencies file but an exception is thrown.
If the paket.dependencies file has two NuGet packages (e.g. NUnit and jQuery) then removing the NUnit package works without any exception being thrown.
I get the same behaviour if I try to remove the last NuGet dependency using
referenced this issue
Oct 14, 2016
added a commit
Oct 15, 2016
I am still seeing the same error with Paket 188.8.131.52
Shit thought another thing fixed it as well. Will take another look next
Am 29.10.2016 14:46 schrieb "Matt Ward" firstname.lastname@example.org: