Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why no output when use command line to build VS setup project?

I have installed Visual Studio 2008 on our build machine because we want to build the setup project to create MSI installer for our C# application.

From IDE, it works fine. The installer is created as expected.

Switch to command line, with the follow command the process finished without any error but there is no output (no installer created)

DevEnv.exe .\\SystemSoftwareInstaller\\SystemSoftwareInstaller.vdproj /build Debug /Out "debugErr.txt"

change the /build to /deploy to /rebuild have no difference (no installer created)

I am doing anything wrong?

like image 326
5YrsLaterDBA Avatar asked Oct 15 '10 15:10

5YrsLaterDBA


2 Answers

I just fought with a similar issue, where I'd run the devenv.exe and get no feedback and no output, even with the /Log flag. This is the exact same call I'd use in 2005, and it worked like a charm. But then I found a devenv.com in the same folder, so I tried that, and it ran as expected. I don't know the difference between the .com and .exe versions, but you might try that.

like image 97
Chris Gould Avatar answered Sep 30 '22 19:09

Chris Gould


I think the problem is that you are running DevEnv.exe and not DevEnv.com.

This should output to the console.

DevEnv .\\SystemSoftwareInstaller\\SystemSoftwareInstaller.vdproj /build Debug /Out "debugErr.txt"
like image 36
tomasat Avatar answered Sep 30 '22 21:09

tomasat