Classification: Public We use TFS as our source repository so I get the setup source first then build
set DevEnv="%DevEnvDir%devenv.exe" echo DevEnv=%DevEnv% set MSBuild="msbuild.exe" echo MSBuild=%MSBuild% set TF="%DevEnvDir%TF.exe" echo TF=%TF% if $%DevEnv%$==$$ echo DevEnv not set if $%DevEnv%$==$$ pause if $%TF%$==$$ echo TF not set if $%TF%$==$$ pause if $%TF%$==$$ goto SKIPSOURCE %TF% get "$/Main/Setup" /recursive /force /noprompt if ERRORLEVEL 1 echo error Getting $/Setup :SKIPSOURCE call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" ".\Services_Setup\Services_Setup.sln" /Clean call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" ".\Services_Setup\Services_Setup.sln" /BUILD DebugX86 /OUT ".\Build_Setup.log" Steve -----Original Message----- From: Blair Murri [mailto:os...@live.com] Sent: January-20-14 10:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error Building WixProj from DevEnv Command Line dunno. I always use msbuild from the command line: “FullPathToMSBuild.exe” /nologo /t:Rebuild “FullPathToSolutionFile” DevEnv has always been a black box and has never been particularly build-box friendly. You’ll have to use DevEnv on solutions containing projects that aren’t compatible with MSBuild, but there are fewer of those project types remaining with each new release of VS. Blair From: Dave Echols Sent: Wednesday, January 15, 2014 10:47 AM To: General discussion for Windows Installer XML toolset. I have a VS 2010 solution that contains 2 Wix projects for two different installs. I can compile/build the solution from within the Visual Studio IDE without errors. When I build the solution from the command line using DevEnv.exe, I get the following error on one of the projects... MySetup.wixproj : error : Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) One or more projects in the solution were not loaded correctly. Please see the Output Window for details. I am using the following command line to build the solution... "FullPathToDevEnv.exe" /nologo /rebuild "FullPathToSolutionFile" The other project in the solution builds without errors. I have examined each project file in a text editor and they are nearly identical, except for different files and different names/Guids. Any ideas on what might be causing this error and how I can make it go away? Thanks in advance for any help. David S. Echols Senior Programmer H&A Architects & Engineers | www.ha-inc.com<http://www.ha-inc.com> 222 Central Park Ave., Suite 1200, Virginia Beach, Virginia 23462 d: (757) 213-6049 p: (757) 222-2010 f: (757) 222-2022 Follow Us: Twitter<http://twitter.com/#!/hainctweets> | Facebook<http://www.facebook.com/HAArchitectsEngineers> | LinkedIn<http://www.linkedin.com/company/h&a-architects-&-engineers> ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This message has been marked as Public by Steven Ogilvie on January-21-14 8:16:55 AM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users