.net - Visual Studio Msbuild Task Project Dependencies -
i decided rephrase problem, seems not quit clear should have been
i want define project dependency (let’s call projectb) used build order , doesn’t pull in assembly reference current project (let’s call projecta). manual modification of build order via visual studio not option build order should set nuget package, far know can modify msbuild file of current project , not solution file itself.
the reason behind is, want create source file content result of processing projectb executable. projectb .net 4.5 , projecta .net 2.0, direct reference not possible anyhow.
i tried msbuild projectreference tag, add assembly references compiler receives (and throws error versions not compatible).
vs version: 2012, no need 2010 or lower compatibility.
you project b executable should not have dependency project a's dll, function of project b implementation, not of assembly reference. suggest rephrase question. add project project b referenced assembly create desired build sequence, describe problem results can addressed.
Comments
Post a Comment