What is the difference between devenv and msbuild




















Devenv ultimately invokes msbuild to do the building of the project. In theory Visual Studio projects can be built using msbuild. However our tests have shown this to be unreliable, failing on some machines, working on others.

What is the difference between using 'devenv' and 'msbuild' in CruiseControl. NET builds? Ask Question. Asked 10 years, 9 months ago. Active 4 years, 6 months ago.

Viewed 12k times. Improve this question. Peter Mortensen 29k 21 21 gold badges 97 97 silver badges bronze badges. Bender the Greatest Bender the Greatest Add a comment. Active Oldest Votes. Improve this answer. Benjamin Baumann Benjamin Baumann 3, 2 2 gold badges 23 23 silver badges 34 34 bronze badges.

I was wondering: what is the difference between using msbuild and devenv when compiling solutions from the command line? One obvious thing noticed was that msbuild does build dependent projects not contained within the solution, while devenv does not. Are there any other? Are there some special flags one could pass to msbuild to make it match the devenv build exactly? First of all, you no longer need a sonar-project.

Already on GitHub? Sign in to your account. I'm having an issue building some projects. I've managed to make a small sample that illustrates the problem. Basically I've got 2 solutions SolA. The project A. The subtle peculiarity about this projects, is that A. When I build SolAandB. If I had built in Release , the reference would have correctly pointed to the release build output of A.

The result of that build depends on having A. You can see a sample build script in BuildSolutions. Now if I build SolAandB. How can I build the solution, in a way that when csc.

The text was updated successfully, but these errors were encountered:. The reference isn't added because it doesn't get computed in ResolveProjectReferences. That's set here. I don't know yet what the best fix would be. Maybe stop checking that condition for the GetTargetPath invocation? But we'd need to think through the implications of that in detail. Sorry, something went wrong.



0コメント

  • 1000 / 1000