我需要在Visual Studio Online下构建VS解决方案。但是当我运行它时,出现了一个错误:
C:\a\50009cdf\Mobius-ASG\Prototyping\VCPROJ\SystemAl.sln.metaproj(0,0): Error MSB4126: The specified solution configuration "Debug|any cpu" 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.
我试图将'BuildPlatform'更改为'Mixed Platforms',将'BuildConfiguration'更改为'Release'。 但这并没有帮助我,我得到了相同的错误,但使用了新值:
The specified solution configuration "Release|Mixed Platforms" 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
我也尝试禁用和删除这些变量,但仍然出现相同的错误。我该怎么办呢?