News for hackers. Stuff that matters.
Re:Announcing .NET Core 1.1 by michaeldwan on Wednesday November 16, 2016 @02:28PM (#12970540)
Right on the dotnet core getting started page: https://www.microsoft.com/net/core#linuxredhat

  dotnet build
  dotnet run
  dotnet test
updated: formatting
Re:Announcing .NET Core 1.1 by tree_of_item on Wednesday November 16, 2016 @03:48PM (#12971343)
Thanks, I don't understand why people were recommending csc.exe and msbuild if this was a thing...
Re:Announcing .NET Core 1.1 by ungzd on Wednesday November 16, 2016 @04:02PM (#12971489)
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.

Re:Announcing .NET Core 1.1 by Locke1689 on Wednesday November 16, 2016 @04:23PM (#12971689)
It is quite confusing (sorry) but the format of the project files won't change the command line interaction -- you'll still do

   dotnet build
   dotnet run
Re:Announcing .NET Core 1.1 by ungzd on Thursday November 17, 2016 @10:09AM (#12978026)
Installed .NET core 1.1.0 and it still looks for project.json (and not uses msbuild files).

  $ 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.
Re:Announcing .NET Core 1.1 by enricosada on Thursday November 17, 2016 @12:02PM (#12979161)
.net core 1.1 is the runtime (coreclr + bcl)

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`