How to build target with MSBuild in VS 2019 16.10.0?

Sergej K 1 Reputation point
2021-06-03T07:44:59.887+00:00

This method doesn't work

msbuild.exe main.sln -t:engine:Build -m:4 -p:Configuration=Release -p:Platform=x86

Those methods work fine:

msbuild.exe main.sln -t:engine:Rebuild -m:4 -p:Configuration=Release -p:Platform=x86
msbuild.exe main.sln -t:engine:Clean -m:4 -p:Configuration=Release -p:Platform=x86
msbuild.exe main.sln -t:engine:Link -m:4 -p:Configuration=Release -p:Platform=x86

Just for better understanding.
Latest changes in msbuild had broken silently my builds. Even worse, rollback from 16.10 to 16.9 is either difficult or not possible.
As a result, long-awaited c++20 features are delayed

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,345 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.