visual studio 2015 - How to reference project in a different folder in ASP.net vNext -
let's have project (project1) lives in [solution folder]\project1\
. there's no problem adding new project (project2) in [solution folder]\project2\
, referencing dependency in project1's project.json
line below:
"project2": ""
however if move project2 different (file system instead of solution) folder such [solution folder]\lib\project2\
? how add reference in case?
====================================
just want share new tip: if have project in subfolder e.g. [solution folder]\lib\project1\
, want reference project located in solution folder e.g. [solution folder]\project2\
, make following change global.json:
{ "sources": [""] }
add global.json file solution folder following text in it:
{ "sources": ["lib"] }
tht, bart
Comments
Post a Comment