Home > Enterprise >  MsBuild vs dotnet build
MsBuild vs dotnet build

Time:02-04

When have I to use one or the other one?

I think that for net framework projects I’ve to use msbuild and for .net projects the dot net build but I don’t why

CodePudding user response:

The article of dotnet build says:

dotnet build uses MSBuild to build the project

So you needn't worry about the choice, MSBuild is the end of everything. You can use dotnet build to build a .Net Framework project.

For the word MsBuild I suppose you mean MSBuild for .Net Framework, it can't build .Net/.Net Core projects.

  • Related