visual studio 2015 - Can the project.json file in an asp.net 5 (dnx) project be moved? -


the default location of project.json in root folder of asp.net project folder. dislike having configuration files jumbled in classes , prefer move project.json (and other configuration , startup elements) configuration folder.

i moved project.json (in visual studio solution explorer) /configuration folder results in following error:

c:\program files (x86)\msbuild\microsoft...\dnx\microsoft.dnx.targets(142,5):
error : design time host build failed following error:
unable find project.json in 'z:\path\to\project\root'

i can't seem find configuration detail indicate project.json located. extensibility , customization possible in new frameworks did microsoft hardcode location of project.json file?

short answer "no". new project system assumes 2 things: (1) folder name = project name , (2) project.json in folder. project.json not configuration file. project metadata csproj c# projects

while still need have folder named project project.json file inside it, can include source files other folders, outside of project folder. here's example of how that.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -