MsBuild vs dotnet build

1.1k Views Asked by At

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

1

There are 1 best solutions below

4
shingo On BEST ANSWER

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.