I finally got msbuild to execute and publish on the command line. Now I wonder how can I do this through teamcity?
When I run this command line, it works!
C: \ TFS \ project \ myProject \ APIproject> msbuild apiproject.csproj / P: DeployOnBuild = true / p: PublishProfile = "Properties \ PublishProfiles \ DEV.pubxml" / p: VisualStudioVersio n = 14.0
However, I do not see in TeamCity a good solution to run this script.
source share