# IT:AD:NuGet:HowTo/Nest Solutions and still work #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
My original notes are listed below -- but since then also came across this good article:
* http://www.damirscorner.com/NuGetPackageRestoreForProjectsInMultipleSolutions.aspx
## Notes ##
Nuget modifies *.csproj files, adding:
At the end.
But note that it is *solution* based.
The first thing that needs doing is search/replacing it with a path that is relative to the Project, not the Solution:
Also have to edit the .nuget.targets file from:
$(MSBuildProjectDirectory)\..\
$(SolutionDir).nuget
$(NuGetToolsPath)\nuget.exe
$(ProjectDir)packages.config
$(SolutionDir)packages
to
$(MSBuildProjectDirectory)\..\
$(ProjectDir)..\..\.nuget
$(NuGetToolsPath)\nuget.exe
$(ProjectDir)packages.config
$(ProjectDir)..\..\packages
## Resources ##
* http://nuget.codeplex.com/workitem/1852
* http://nuget.codeplex.com/discussions/431666
* What worked:
* http://nuget.codeplex.com/discussions/431666
* http://nuget.codeplex.com/workitem/1852