Theoretically, devenv.exe will call msbuild under the covers. You can tell 
msbuild to build your solution and tell it which configuration/platform you 
want to build. Something like:

msbuild path\to\solution.sln /p:Configuration=Release /p:Platform="Mixed 
Platforms" /t:Build

Some more information about how devenv is failing would help. Oh, I should 
mention that devenv is required to build C++ projects at the moment because 
msbuild does not support C++ projects yet.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Raja, Moiz (Moiz) [mailto:mr...@avaya.com]
> Sent: Thursday, April 16, 2009 9:41 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Problem building a WIX project using devenv
>
> Brian,
>
> I haven't tried msbuild mostly because I don't want to redo the
> configuration I already have in my solution.
>
> -Moiz
>
>
> Hey Moiz,
>
> Have you tried msbuild.exe instead of devenv.exe using the command
> line?
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Wed, Apr 15, 2009 at 2:51 PM, Raja, Moiz (Moiz) <mr...@avaya.com>
> wrote:
>
> > Hi All,
> >
> > I am new to this forum. I started working with WIX about a week and
> > have moved an existing setup which I had originally written (created)
> > using the Visual Studio Setup project to WIX.
> >
> > I am seeing issues with building my WIX project from the command line
> > using devenv. The same project builds just fine from within Visual
> > Studio.
> >
> > I tried creating a very simple WIXProject and building it from the
> > command line. That works! However when I started adding references
> and
>
> > code to my project it does not build anymore.
> >
> > I am going to continue with trial/error to figure out what the
> problem
>
> > if anyone has had luck with using devenv to build a non-trivial wix
> > setup project I would like to know how you got it to work.
> >
> > Thanks,
> > -Moiz
> >
> > ---------------------------------------------------------------------
> -
> > -------- Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save $200 on
> > the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -----------------------------------------------------------------------
> -
> ------
> Stay on top of everything new and different, both inside and around
> Java
> (TM) technology - register by April 22, and save $200 on the JavaOne
> (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -----------------------------------------------------------------------
> -------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to