devenv command line

W

wandii

Hi,
I've been working with devenv from the command line for the last
couple of days and cannot
get to build the msi file correctly. if I excecute the devenv.exe via
the command line or batch file
it creates a .msi file with 5k size, however, if I build my solution
via the IDE then I get a correct .msi with 9MB. I am using the devenv
in a batch file as follow:

@set projdir=E:\netproject
....
%denenvdir%\devenv.exe %projdir%\Testproject.sln /build debug /project
setupproject /out "c:\temp\setup.msi"

I tried changing the solutionconfig to "release" still creates a msi
file with 5k. I am sure someone out there has encountered this problem
with devenv. Can anyone give me an idea/sample please how to build a
msi via the command line, thanks in advance.

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top