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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -