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
If you have project code than you can add Foo.csproj to Bar.xproj as reference but not directly, see instructions below. It can be done without uploading packages in Beta8 but it is not simple as it should be. If you only have Foo.dll there is one hint here: Bin syntax (wrapping a dll)
dnv wrap Foo.csproj
.Foo/wrap/Foo/project.json
. Go to your solution in Visual Studio, Add -> Existing project -> project.json
.Foo.xproj
which is available in Visual Studio solution, but it does not build.dnv restore
.dnv restore
.I really hope that this will be easier in final version.
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.