We have an issue with our VSTS build pipelines, in that we are using the $(SolutionDir) in our csproj. The issue that we are running into is, we cannot update our Nuget Packages because whenever we do, we lose the $(SolutionDir) and have to go into the csproj and put $(SolutionDir) back into the correct places.
Is there a way to set the build (or anything else), so that we do not need to manually modify the csproj? We would like to add/update a nuget package, and know that it will be handled properly in the build every time when we check it in? Maybe even add $(SolutionDir) automatically.