I have an ASP.Net 5 project in which I wish to reference a number of .Net class libraries. However, I've had a lot of issues doing this successfully.
My project directory looks something like this:
WebProject
NetLibrary1
NetLibrary2
NetLibrary3
src
Web Project Code
wrap
DevExpress.Data.v14.1
project.json
.
.
NetLibrary1
project.json
The wrap folder contains a folder for each DLL that is referenced in the web project, and inside each one of those folders is a project.json file that I guess "wraps" the DLL into a faked Nuget package for the vNext project to consume.
My problem is that I seem unable to successfully wrap 2 of my NetLibrary projects so that my vNext project can reference them. I attempt to add the references by right-clicking and it puts the Project names in my Web's project.json file in the following manner:
"frameworks": {
"dnx451": {
"dependencies": {
"NetLibrary1": "1.0.0-*",
"NetLibrary2": "1.0.0-*"
}
}
}
But then when it tries to restore the packages it says: "Unable to locate NetLibrary1 >= 1.0.0-*".
I'm incredibly frustrated having to deal with bleeding-edge technology like this and I'm looking for a clear method to fix my reference woes.
Thanks for any responses!