MSBuild - SharePoint build step
Try to atomate SharePoint project source with teamcity.
[Error] C:\BuildAgent\work\2e1b7de9a9e371d7\HRMI\HRMI.sln error MSB4126: The specified solution configuration "Release|AnyCPU" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.
My Build Settings
Runner Type : MSBuild
MSBuild Version : Microsoft .Net frame work 3.5
MSBuild Tools Version :3.5
Run Platform : x86
Targets:
Command Line Parameters : /t:Build /p:Configuration=Release
/p:Platform="AnyCPU"
Please sign in to leave a comment.
Try adding the missing space: "Any CPU". And remove the /t:Build and add build targets to the Targets (e.g. Rebuild).