How can i add local dll at the asp.net 5 project

后端 未结 2 687
太阳男子
太阳男子 2021-01-05 04:02

I am trying to make an ASP.NET 5 site use visual studio 2015 preview, and i want to add dll at local file system to the ASP.NET 5 project. But i can\'t find this option, Is

2条回答
  •  星月不相逢
    2021-01-05 04:46

    You cannot add direct reference anymore, you would have to create your own nuget package containing it.

    See: http://forums.asp.net/t/2002302.aspx?Adding+a+non+nuget+reference+to+a+vNext+project

    As for the why, it is really easier to manage dependencies with nuget, download your sources anywhere, and with a single command (kpm restore) all nuget packages necessary will be downloaded.

提交回复
热议问题