Skip to content

Latest commit

 

History

History
53 lines (48 loc) · 4.61 KB

msbuild.md

File metadata and controls

53 lines (48 loc) · 4.61 KB

relationship-between- dotnet-cli and vs2017-msbuild

https://stackoverflow.com/questions/43422488/relationship-between-the-dotnet-cli-and-the-new-vs2017-msbuild

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