Skip to content

Visual Studio extension (.vsix) to make sure that paths to NuGet packages are relative to the directory of the current solution.

License

Notifications You must be signed in to change notification settings

Rowandish/FixNuGetPackagePaths

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FixNuGetPackagePath

Visual Studio extension (.vsix) to make sure that paths to NuGet packages are relative to the directory of the current solution.

When installing a NuGet package the paths to the package files (i.e. *.dll, *.targets, ...) are set relative to the solution that is open at the time the package is installed. This extension ensures that the paths are always relative to the solution that is currently open. That only really makes a difference if you have a project that is referenced from different solutions and those solutions live in different directories (e.g. when using git submodules).

For some discussion on this see NuGet/Home#738

Usage:

Fix NuGet paths in existing projects:

  • Open all solutions in Visual Studio
  • Select Tools -> Fix NuGet hint paths

When installing a new NuGet package the paths are fixed automatically.

About

Visual Studio extension (.vsix) to make sure that paths to NuGet packages are relative to the directory of the current solution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.9%
  • Batchfile 1.1%