Mapping between dotnet and msbuild I made a mapping between dotnet and msbuild. It's not complete, but the important commands are there.
Dotnet | Msbuild | Remarks |
---|---|---|
Add | ||
----------------------- | -------------------------------------------- | --------------------------------- |
Build | /t:Build | |
----------------------- | -------------------------------------------- | --------------------------------- |
Build --no-incremental | /t:Rebuild | |
----------------------- | -------------------------------------------- | --------------------------------- |
Clean | /t:clean | |
----------------------- | -------------------------------------------- | --------------------------------- |
Complete | ||
----------------------- | -------------------------------------------- | --------------------------------- |
Help | Help! | |
----------------------- | -------------------------------------------- | --------------------------------- |
List | ||
----------------------- | -------------------------------------------- | --------------------------------- |
Migrate | - | |
----------------------- | -------------------------------------------- | --------------------------------- |
Msbuild | Forwarding all | |
----------------------- | -------------------------------------------- | --------------------------------- |
New | ||
----------------------- | -------------------------------------------- | --------------------------------- |
Nuget | * | |
----------------------- | -------------------------------------------- | --------------------------------- |
Pack | /t:pack | |
----------------------- | -------------------------------------------- | --------------------------------- |
Publish | /t:publish | |
----------------------- | -------------------------------------------- | --------------------------------- |
Remove | ||
----------------------- | -------------------------------------------- | --------------------------------- |
Restore | /NoLogo /t:Restore |
/ConsoleLoggerParameters:Verbosity=Minimal |
-----------------------|--------------------------------------------|---------------------------------
Run | /nologo /verbosity:quiet |
/p:Configuration= /p:TargetFramework |
-----------------------|--------------------------------------------|---------------------------------
Sln | | Not in msbuild
-----------------------|--------------------------------------------|---------------------------------
Store | /t:ComposeStore |
-----------------------|--------------------------------------------|---------------------------------
Test | /t:VSTest /v:quiet /nologo |
-----------------------|--------------------------------------------|---------------------------------
Vstest | | Forwarding to vstest.console.dll
- dotnet nuget: Adding/removing packages to csproj, also limited set of nuget.exe, see comparison