added automatic vs.2008 detection

This commit is contained in:
eeichinger
2009-08-04 20:24:02 +00:00
parent 21f3cdd67a
commit 070c33503e
4 changed files with 12 additions and 6 deletions

View File

@@ -50,6 +50,12 @@
<property name="net-3.5.installed" value="${registry.net-3.5.installed == '1'}" />
<readregistry property="vs-net90.dir" key="SOFTWARE\Microsoft\VisualStudio\9.0\InstallDir" hive="LocalMachine" failonerror="false"/>
<!-- default location of mstest executable and reference assemblies -->
<property name="mstest.exe" value="${vs-net90.dir}/mstest.exe" if="${property::exists('vs-net90-dir')}" />
<target name="check-bin-dir">
<if test="${not property::exists('bin.dir')}">
<property name="bin.dir" value="${project::get-base-directory()}/build"/>