How to stop Visual Studio from removing project dependencies in SLN file (or get MSBuild to not need them)

  • Thread starter Thread starter Humbe76
  • Start date Start date
H

Humbe76

Guest
On our build server, we build our code using MSBuild.

MSBuild don't understand interdependencies between projects in the solution without having postProject sections in solution file. Visual Studio removes these lines every time it alters solution files.

Is there some way we can configure VS to not remove these postProject entries in solution files, so people can add/remove a project within VS, without having it to remove required settings for every other project in the solution file?


Or alternatively, get MSBuild to actually understand project references, so we can build without them.

Continue reading...
 
Back
Top