Microsoft is deprecating project.json and recommending to move back to msbuild xml files: https://blogs.msdn.microsoft.com/dotnet/2016/05/23/changes-t...
Or maybe they deprecated this deprecation later? It's all very confusing.
Or maybe they deprecated this deprecation later? It's all very confusing.
dotnet build
dotnet run $ dotnet build
Couldn't find 'project.json' in current directory
$ xbuild
XBuild Engine Version 14.0
Mono, Version 4.6.1.0
Copyright (C) 2005-2013 Various Mono authors
Build started 17.11.2016 18:08:11.
...
Build succeeded.
Also it creates project.json when creating new project.the .net core sdk (tooling, the cli command line) is 1.0.0-preview2 and use `project.json`
your xbuild is from mono installed on your system, not .net core
if you download and use the .net core sdk `1.0.0-preview3` you will see the msbuild based csproj in preview3 (run `dotnet new`). msbuild based mean `dotnet build` is calling the msbuild library with `/t:Build` argument.
To explicity run msbuild, you can do `dotnet msbuild`