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).


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.

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” - Tom Cargill