Weird problem for devenv command build failed.

build , csharp , cpp , COM San Diego, United States
  • 8 years ago

    I am working on a solution file which contains A, B, C, D four projects in Visual Studio 2005. Project B has dependency on A. A and B are unmanaged C++ projects which generate a COM .dll as output. And it is added to reference of project C which is C# project. Project D is a setup project which has C's exe file as output. So the project build order is A->B->C->D.

    Ok, my headache is, I can build the solution successfully in Visual Stuido 2005 or using devenv command in the command prompt on my computer. But when I tried to use other computers which have Visual Stuido 2005 installed, I only can build it in Visual Stuido 2005, but failed using devenv command. I check the log file, the reason is the build order is not correct when I use devenv command on other computers.

    That's so weird. Does any one know how to solve this problem?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.”