project.json

Is project.json deprecated?

假如想象 提交于 2019-11-27 13:59:57
Is project.json going away and web.config coming back in ASP.NET Core 1.0? In the roadmap document , the update in '16 Q4 or '17 Q1, they mention "replacing .xproj/project.json with .csproj/MSBuild". Does that mark the end of project.json? Update : As of Visual Studio 2017 and the latest dotnet CLI, project.json is officially dead. Visual Studio will migrate projects automatically, and there is a comparison chart here: https://docs.microsoft.com/en-us/dotnet/articles/core/tools/project-json-to-csproj project.json is indeed going away. As part of a future update to the .NET Core tooling, .xproj

What does compilationOptions.emitEntryPoint mean?

走远了吗. 提交于 2019-11-27 06:34:23
问题 Just installed the rc1 tools and created a new web project to see what has changed in the template. I noticed that project.json now contains: "compilationOptions": { "emitEntryPoint": true } But it's unclear what this does. Does anyone have an idea? 回答1: As mentioned below: It looks like it is a flag to the compiler to indicate that the project is a console application vs. a library (namely: a console application must contain public static void Main() ) You can see from the source here. In