Doable: devenv.exe/.com simply calls msbuild.exe I was being lazy... :) I'll bug me and make the changes.
-----Original Message----- From: Ben Dewey [mailto:[email protected]] Sent: Tuesday, April 28, 2009 10:19 AM To: '[email protected]' Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Drew, There isn't any VS* Environment Variables. How hard would it be to use C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe? -Ben -----Original Message----- From: Drew Baird (Volt) [mailto:[email protected]] Sent: Tuesday, April 28, 2009 1:17 PM To: [email protected] Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Are there any VS* environment variables Exposed? I will make a pass through and add if exists. I hate to mess with the registry in a script to find the IDE path... Thanks -----Original Message----- From: Ben Dewey [mailto:[email protected]] Sent: Tuesday, April 28, 2009 10:09 AM To: '[email protected]' Subject: RE: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Drew, FYI, I was unable to get this build script to work with the Visual Studio Web Dev Express install. There doesn't seem to be a VS90COMNTOOLS Env variable or a devenv.com executable with this install. -Ben -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Friday, April 24, 2009 12:10 PM To: [email protected] Subject: svn commit: r768347 - /incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Author: drewbai Date: Fri Apr 24 16:10:09 2009 New Revision: 768347 URL: http://svn.apache.org/viewvc?rev=768347&view=rev Log: Add logic to determine devenv path from environment variable: %VS90COMNTOOLS% Modified: incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Modified: incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd?rev=768347&r1=768346&r2=768347&view=diff ============================================================================== --- incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd (original) +++ incubator/stonehenge/trunk/stocktrader/dotnet/BuildDotNet.cmd Fri Apr 24 16:10:09 2009 @@ -3,7 +3,7 @@ @echo Assumptions @echo - This cmd file is being starting in [dotnet] dir @echo - Run in Administrator mode -...@echo - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE +...@rem @echo - SET buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE @Echo Suggested Upgrades :) @Echo 1. We should add logging @@ -21,7 +21,11 @@ TortoiseProc.exe /command:update /path:"." /closeonend:3 @echo Set path to your visual studio -set buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE +...@rem set buildPath=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE +pushd %VS90COMNTOOLS% +cd ..\ide +set buildPath=%cd% +popd @REM If you need help with REM Help: >"%buildPath%\devenv" /? @Rem Command line usage:
