简体   繁体   English

创建新的asp.net核心项目后,Project.json不存在,或者在使用新工具打开解决方案时消失。

[英]Project.json does not exist after creating a new asp.net core project or disapears when opening a solution with new tooling

I have problem. 我有问题。 I installed asp.net core and into my solution doesn't exists any project.json file 我安装了asp.net core,并且在我的解决方案中不存在任何project.json文件

Here is screenshot 这是截图

屏幕截图

The ASP.NET Team are trying to do something better than editing the project.json by hand. ASP.NET团队正在尝试做一些比手动编辑project.json更好的事情。

Question: project.json is going away? 问题:project.json要消失了吗? Sadface 悲伤的脸

What were the things we liked? 我们喜欢什么? It was small, contained NuGet information, and could be edited by hand. 它很小,包含NuGet信息,可以手工编辑。 Damian does not want to lose any of those benefits, and that is why they are working in several steps to complete this migration. 达米安(Damian)不想失去任何这些好处,这就是为什么他们要分几个步骤来完成此迁移。 Additionally, the team is building tooling at the command line so that you don't have to work with the project file directly. 另外,该团队正在命令行中构建工具,因此您不必直接使用项目文件。 Consider a possible npm-like command like “dotnet install json.net –save” to add a NuGet package to your project. 考虑一个可能的类似于npm的命令,例如“ dotnet install json.net –save”,将NuGet软件包添加到您的项目中。 There will be first class commands like this available. 会有类似这样的一流命令。
The new MSBuild will not have a complete list of every file, so that should reduce the size of the build file. 新的MSBuild将没有每个文件的完整列表,因此应减小构建文件的大小。 It will still be XML, but the team is committed to making that experience better for all .NET projects. 它将仍然是XML,但是团队致力于为所有.NET项目提供更好的体验。 This will be an enhanced MSBuild that has all of the best parts of project.json 这将是一个增强的MSBuild,具有project.json的所有最佳部分

Read more here : https://blogs.msdn.microsoft.com/webdev/2016/05/11/notes-from-the-asp-net-community-standup-may-10-2016/ 在此处阅读更多信息: https : //blogs.msdn.microsoft.com/webdev/2016/05/11/notes-from-the-asp-net-community-standup-may-10-2016/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Asp.net Core 1.0 project.json预发布脚本 - Asp.net Core 1.0 project.json prepublish scripts 将新项目添加到asp.net核心解决方案 - Adding new project to asp.net core solution do.net 意外退出 - 在 ASP.NET Core 中创建新项目后 - dotnet quit unexpectedly - after creating new project in ASP.NET Core NET Core中使用project.json构建后创建一个文件夹 - Create a folder after build using project.json in NET Core 无法使用project.json在.NET Core中构建新项目,但现有的项目构建/恢复正常 - Unable to build new projects in .NET Core using project.json but existing ones build/restore fine 使用 Visual Studio 2017 的 .NET Core 解决方案上没有 project.json、global.json 等 - there is no project.json, global.json … etc on .NET Core Solution with Visual Studio 2017 ASP.Net Core & Docker - 项目文件不存在 - ASP.Net Core & Docker - Project file does not exist 最新版本的ReSharper打破了ASP.NET Core 1.0项目中的Bower和project.json'version intellisense' - Latest version of ReSharper breaks both Bower and project.json 'version intellisense' in ASP.NET Core 1.0 projects ASP.NET appsettings.json 在我的项目中不存在 - ASP.NET appsettings.json does not exist in my project 使用autofac在asp.net核心项目上创建新范围 - Create new scope on asp.net core project using autofac
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM