4

What I have:

  • VS2015U2
  • Class library project
  • project.json

What I need: I need to copy only some(not all) of the Nuget references to the output folder.

Note: This could be easily done with the "CopyLocal" when using packages.config.

Note2: I found that I can use CopyNuGetImplementations in my .xproj file but this will copy all libraries which is not desired.

f0rt
  • 1,801
  • 3
  • 17
  • 30
  • Can you set the reference property "Copy Local" to "false" on the references which you do not want to copy? – Frank Bryce Apr 08 '16 at 16:17
  • "Copy Local" option is no longer available in reference properties. – f0rt Apr 09 '16 at 19:15
  • Hmmm, curious I have that option in VS 2015. I wonder what's different – Frank Bryce Apr 09 '16 at 23:39
  • So I've create a CL project. Added project.json. Added reference to Newtonsoft.Json. The properties widget of the nuget reference shows no properties at all. – f0rt Apr 10 '16 at 20:35

0 Answers0