When I try to compile my project from x86 debug mode in Visual Studio 2008. I am getting this error. When I looked at the property group of the project that complained, I se
had this problem as output from Azure DevOps after setting to build the .csproj instead of the .sln in the Build Pipeline.
The solution for me: Edit .csproj of the affected project, then copy your whole
Node, paste it, and then change the first line as followed:
The reason is, that in my case the error said
Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='release' Platform='any cpu'.
Why Azure wants to use "any cpu" instead of the default "AnyCpu" is a mystery for me, but this hack works.