.net - Visual studio build order working with nugets -
given solution has 2 projects: 1,2 -
let's assume project 2 depends on project 1.
now , if use project references - vs/msbuild can resolve correct build order , build project 1 before project 2.
but, if want use nugets manage dependencies? project 2 defines depends on "nuget 1". doesn't msbuild aware of this. there way resolve , without defining manually build order in each solution?
is there way resolve , without defining manually build order in each solution?
just lex li mentioned, it`s design of msbuild , nuget. when use nugets manage dependencies, msbuild build dependence "nuget 1" first, work according nuget design, find , download dependence rather build , generate project 1.
in order able dependence "nuget 1", have to build project 1 manually first, otherwise, msbuild throw exception not find dependence.
all of related design of nuget, find , download dependence rather build , generate.
hope can you.
Comments
Post a Comment