Using VS2015 RC, I created the project "Class Library (package)" and added the dependency, and it was loaded from nuget:
"frameworks": {
"net45": {
"dependencies": {
"LibraryX": "1.0.0-*",
}
}
}
Then I cloned the package source to my disk (located in D:\LibraryX\LibraryX.csproj, in a different folder), and now I want my new project to depend on this source instead of the nuget package.
I built the source, launched it dnu wrap LibraryX, created it D:\LibraryX\wrap\LibraryX\project.json, and added global.json to the folder with my solution as:
{
"sources": ["D:/LibraryX"]
}
However, LibraryX is always loaded from nuget. What do I need to make dnu treat the source as a dependency and use this instead of nuget?
? dnu list -a , nuget, , , .
Build 2015, , .