Targetting netcoreapp And The Full net461 Using ASP.Net Core

你离开我真会死。 提交于 2019-12-11 01:05:39

问题


In the recent ASP.Net Core RC2 Preview 1 release of the tooling, the project templates were split into full .NET Framework projects targeting net461 and .NET Core projects targeting netcoreapp1.0.

In the previous world, both of these target frameworks were added in a single project. Can this still be done? What was the reason for splitting them up?


回答1:


Both in a single project: Yes you can do that. Create one of them, add the other other framework in the project.json like before. Like Tseng outlined, it is just the default Windows template which no longer support it.

Why they splitted up: IMHO: I think the combined view confused many people. Also the upcoming change moving from project.json/xproj to csproj may influence this.



来源:https://stackoverflow.com/questions/37393147/targetting-netcoreapp-and-the-full-net461-using-asp-net-core

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!