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?
Project. json is an automatically generated file which is included in the folder of each automation project made in Studio. The file holds information about the project dependencies, and web services loaded in libraries.
The project. json file maintains a list of packages used in a project, known as a package management format. It supersedes packages.
The package. json file is normally located at the root directory of a Node.
Old answer for posterity: project. lock. json is generated by the . NET tooling when you restore the project's packages. You shouldn't touch it or check it into source control.
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/project.json will be merged back into .csproj. However, the team has stated:
The new MSBuild will not have a complete list of every file, so that should reduce the size of the build file. It will still be XML, but the team is committed to making that experience better for all .NET projects. This will be an enhanced MSBuild that has all of the best parts of project.json
So, project.json will be deprecated, but some of the innovations such as auto-discovery of source files will stick around. They've also committed to improving the MSBuild experience given that many people voiced their opinion about this change.
web.config is a different thing entirely. It's used when hosting ASP.NET Core projects on IIS, but otherwise is not required.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With