[I couldn't find the solution to this that must be a common problem, sorry if it's been posted before]
I run msbuild projects from within TeamCity with great success. However, I sometimes want to modify the msbuild proj files on my developer machine (not on the build server). The problem is then, that the msbuild project files are sprinkled with TeamCity-specific stuff that doesn't work when run directly with msbuild.exe. Examples:
<UsingTask TaskName="NUnit" AssemblyFile="$(teamcity_dotnet_nunitlauncher_msbuild_task)" />
<TeamCitySetBuildNumber BuildNumber="$(Version)" />
<TeamCityProgressMessage Text="Building $(Configuration)" />
The solution is to temporary comment out those lines, but is there a good solution to this problem?
Thanks a lot.