Can ASP.NET vNext use non-vNext references?

后端 未结 2 1361
生来不讨喜
生来不讨喜 2021-02-05 02:42

So I have a ASP .NET vNext project in VS 14 CTP. I am targeting .NET Framework 4.5.1. I added a reference to a NuGet package, which does not have a build specific for vNext.

2条回答
  •  情歌与酒
    2021-02-05 03:24

    According to ASP.NET improvements in Visual Studio 2015 CTP 5, you will be able to reference standard projects from a vNext project. You can do this by simply using 'Add Reference' menu with right click, or manually adding it to the project.json under dependecies.

    Just avoid making cycling references (A references B and B references A) since that will cause Visual Studio to auto refresh the focus of your window on every 5 seconds.

提交回复
热议问题