project.json 是否已弃用?
Is project.json deprecated?
project.json 会消失,web.config 会在 ASP.NET Core 1.0 中回归吗?
在roadmap document中,'16 Q4 或'17 Q1 的更新中,他们提到了"replacing .xproj/project.json with .csproj/MSBuild"。
这是否标志着 project.json 的结束?
更新:截至 Visual Studio 2017 和最新的 dotnet
CLI,project.json 已正式失效。 Visual Studio会自动迁移项目,这里有对比图:https://docs.microsoft.com/en-us/dotnet/articles/core/tools/project-json-to-csproj
project.json 确实要走了。作为 .NET Core 工具未来更新的一部分,.xproj/project.json 将合并回 .csproj。但是,该团队有 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
因此,project.json 将被弃用,但一些创新(例如源文件的自动发现)将保留下来。考虑到很多人 voiced their opinion 关注此更改,他们还致力于改善 MSBuild 体验。
web.config 完全是另一回事。它在托管 ASP.NET 核心项目 on IIS 时使用,但在其他方面不是必需的。
project.json 会消失,web.config 会在 ASP.NET Core 1.0 中回归吗?
在roadmap document中,'16 Q4 或'17 Q1 的更新中,他们提到了"replacing .xproj/project.json with .csproj/MSBuild"。
这是否标志着 project.json 的结束?
更新:截至 Visual Studio 2017 和最新的 dotnet
CLI,project.json 已正式失效。 Visual Studio会自动迁移项目,这里有对比图:https://docs.microsoft.com/en-us/dotnet/articles/core/tools/project-json-to-csproj
project.json 确实要走了。作为 .NET Core 工具未来更新的一部分,.xproj/project.json 将合并回 .csproj。但是,该团队有 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
因此,project.json 将被弃用,但一些创新(例如源文件的自动发现)将保留下来。考虑到很多人 voiced their opinion 关注此更改,他们还致力于改善 MSBuild 体验。
web.config 完全是另一回事。它在托管 ASP.NET 核心项目 on IIS 时使用,但在其他方面不是必需的。