0

Where does project.json file look for packages on msbuild event?

Can we control the search tree?

user5855178
  • 567
  • 1
  • 7
  • 17
  • I'm confused, what kind of msbuild event are you talking about? And why are you talking about a tree? Maybe it would help if explained what is it you're actually trying to accomplish? – svick Apr 12 '17 at 16:26
  • The MSBuild event is the build! When I build the class library project I have the packages restore that are listed in project.json but they do NOT copy to the BIN folder. I want to know where the build looks for packages when using project.json. With package.config I would just look at the hintpath in the csproj file. There IS no reference in the csproj file when using project.json, so how to confirm msbuild is looking in the right place for the packages assemblies? – user5855178 Apr 12 '17 at 20:39
  • Did you try running a diagnostic msbuild? `msbuild /v:diag > build.log`. Then you can see where the assembly references are being taken from. They should be from your packages directory under your user's profile. – Matt Ward Apr 13 '17 at 11:10

0 Answers0