Skip to content

Commit

Permalink
Removing absolute paths. Adding debug and reference paths to project …
Browse files Browse the repository at this point in the history
…files. Everything should now work without having to change settings in VS.
  • Loading branch information
Steven De Kock committed Jul 13, 2011
1 parent 0be5fef commit c9960e8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
8 changes: 3 additions & 5 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
@echo off
if "%ProgramFiles(x86)%" == "" set ProgramFiles(x86)=%ProgramFiles%

set ReSharperPath="%ProgramFiles(x86)%\JetBrains\ReSharper\v6.0\Bin"
set Configuration=Debug

echo Building against ReSharper in %ReSharperPath%
call "%vs100comntools%\vsvars32.bat"

pushd lib\sl\StatLight\
powershell -NoProfile -Command "& { Import-Module .\psake.psm1; Invoke-psake .\default.ps1 "build-all" -parameters @{"build_configuration"='%Configuration%';} }"
popd
msbuild src\AgUnit.sln /p:Configuration=%Configuration%;ReferencePath=%ReSharperPath% /t:Rebuild

msbuild src\AgUnit.sln /p:Configuration=%Configuration% /t:Rebuild

pause
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,24 @@
<AssemblyName>AgUnit.Runner.Resharper60.TaskRunner</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFrameworkProfile />
<ReferencePath>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\JetBrains\ReSharper\v6.0\vs10.0@InstallDir)</ReferencePath>
<StartAction>Program</StartAction>
<StartProgram>$(DevEnvDir)devenv.exe</StartProgram>
<StartArguments>/ReSharper.Plugin AgUnit.Runner.Resharper60.dll /ReSharper.LogFile C:\resharper.log /ReSharper.LogLevel Verbose ..\src\DummyTests\VS2010\DummyTests.sln</StartArguments>
<OutputPath>..\..\output\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\output\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\output\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<ReferencePath>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\JetBrains\ReSharper\v6.0\vs10.0@InstallDir)</ReferencePath>
<StartAction>Program</StartAction>
<StartProgram>$(DevEnvDir)devenv.exe</StartProgram>
<StartArguments>/ReSharper.Plugin AgUnit.Runner.Resharper60.dll /ReSharper.LogFile C:\resharper.log /ReSharper.LogLevel Verbose ..\src\DummyTests\VS2010\DummyTests.sln</StartArguments>
<OutputPath>..\..\output\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\output\</OutputPath>
<DefineConstants>TRACE;DEBUG;RS51</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\output\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down

0 comments on commit c9960e8

Please sign in to comment.