Closed stevenrlp closed 1 week ago
Sorry I think I worked it out, there is another .sln file in the files that got added during the upgrade I guess and I assume it is picking this up and complaining about the configuration. Only now when I posted this I noticed the start of the error message references a sln file in the node_modules folder.
New issue checklist
Task name
VSBuild@1
Breaking task version
1
Last working task version
1
Regression Description
Upgraded my application to .NET 9 and attempted to run the same pipeline I have been using for some time and now it fails with the error:
[error]D:\a\1\s\source\Web\Frontend\node_modules\lmdb\dependencies\lz4\lib\dll\example\fullbench-dll.sln.metaproj(0,0): Error MSB4126: The specified solution configuration "Release|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.
I have attempted the following command lines with no success:
My .sln file contain the following global configuration:
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows
Relevant log output
Full task logs with system.debug enabled
UNSUCCESSFUL RUN
SUCCESSFUL RUN
Repro steps