I am trying to run msbuild with teamcity.
I have a batch file, and I pass parameters to it and the assembly works. When I try to run teamcity, I get the error below
[13:24:46] [MSBuild exit] Launch MSBuild ...
[13:24:46] [MSBuild exit] 'C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ MSBuild.exe' '"@C: \ TeamCity \ buildAgent \ work \ 999585556854a516 \ Build \ Default.msbuild .teamcity.msbuild.tcargs "C: \ TeamCity \ buildAgent \ work \ 999585556854a516 \ Build \ Default.msbuild.teamcity '
[13:24:46] [MSBuild output] working dir = 'C: \ TeamCity \ buildAgent \ work \ 999585556854a516'
[13:24:46] [MSBuild exit] Microsoft (R) Build Engine version 4.0.30319.1
[13:24:46] [MSBuild exit] [Microsoft.NET Framework, version 4.0.30319.296]
[13:24:46] [MSBuild Exit] Copyright (C) Microsoft Corporation 2007. All rights reserved.
[13:24:46] [MSBuild exit]
[13:24:46] [MSBuild output] MSBUILD: error MSB1008: Only one project can be specified.
[13:24:46] [MSBuild exit] Switch: C: \ TeamCity \ buildAgent \ work \ 999585556854a516 \ Build \ Default.msbuild.teamcity
[13:24:46] [MSBuild exit]
[13:24:46] [MSBuild Output] For the syntax of the switch, enter "MSBuild / help"
In the city of the command, the command line parameter field looks like this: Configuration = Debug; DeployPath = E: \ sites \ Umbraco \ MySite, environment = Dev;
I did a search on stackoverflow, and people having a similar problem noticed no spaces in the command line options, also my sln and proj files didn't have spaces.
As I said, when I run a batch file with these parameters, everything works, but the command does not work. Any ideas?
Hi
Ismail