Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • @Sundeep I am not sure what code sample you are looking for. The two JSON fragments above are the code sample. Commented Sep 19, 2016 at 17:14
  • It is difficult to understand from the description as to how you added project.json for wrapping multiple libraries & how you added them in global scope & how were there referenced in another project. Can you share some sample config with all files ? Commented Sep 20, 2016 at 15:14
  • sundeep - The first example file above is the global.json file that needs to reside in the solution that you are wrapping. (In other words the non-ASP Net 5 dll soluiton). Once it is in place, DNU wrap will build the other the project files for you. That is the second file above. Now your website solution/project will have a project.json file in it and that is where you add the link to the output of the wrap. I do not know how much of this is still relevant since MS has retooled this mess twice since I figured it out. Commented Sep 20, 2016 at 18:40