Targetting netcoreapp And The Full net461 Using AS

2019-07-09 23:33发布

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条回答
混吃等死
2楼-- · 2019-07-09 23:57

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.

查看更多
登录 后发表回答