NuGetReferenceSwitcher icon indicating copy to clipboard operation
NuGetReferenceSwitcher copied to clipboard

Files Leftover After Switching Back To Nuget Packages

Open SmeeK153 opened this issue 7 years ago • 1 comments

After changing back to using nuget packages from projects, there are two files being left in the directory that are no longer needed:

  • *.nugetreferenceswitcher
  • *.previous.nugetreferenceswitcher

This is also causing a <Reference> tag to be removed from the csproj file and a <ProjectReference> to be added, and this is not reversed when switching back to nuget packages from projects.

Would it be possible to internally create a git "feature" branch on the solution being edited when using this utility so that when project references are switched back to nuget packages then everything can be rolled back?

I would be willing to work in this change myself.

SmeeK153 avatar May 21 '18 19:05 SmeeK153

Added pull request to integrate these changes: https://github.com/RSuter/NuGetReferenceSwitcher/pull/42

SmeeK153 avatar May 23 '18 16:05 SmeeK153