diff options
author | Stephen Jennings <Stephen.G.Jennings@gmail.com> | 2011-10-16 21:28:44 -0700 |
---|---|---|
committer | Stephen Jennings <Stephen.G.Jennings@gmail.com> | 2011-10-16 23:27:57 -0700 |
commit | f444b3fde0190036bc9fc5a253f4a621a2edcd4c (patch) | |
tree | b3af0278e4e0c17ea3110e75236f659f925e8d1b | |
parent | 7b57b2eba436b91d6bcd2eb894d971ba4e994b11 (diff) | |
download | OATH.Net-f444b3fde0190036bc9fc5a253f4a621a2edcd4c.zip OATH.Net-f444b3fde0190036bc9fc5a253f4a621a2edcd4c.tar.gz OATH.Net-f444b3fde0190036bc9fc5a253f4a621a2edcd4c.tar.bz2 |
Allow debugging NUnit by running it under .NET 4.0 CLR.
-rw-r--r-- | OATH.Net.Test/OATH.Net.Test.csproj | 3 | ||||
-rw-r--r-- | packages/NUnit.2.5.10.11092/tools/nunit.exe.config | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/OATH.Net.Test/OATH.Net.Test.csproj b/OATH.Net.Test/OATH.Net.Test.csproj index cfc8ce6..987e8e0 100644 --- a/OATH.Net.Test/OATH.Net.Test.csproj +++ b/OATH.Net.Test/OATH.Net.Test.csproj @@ -21,6 +21,9 @@ <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> + <StartAction>Program</StartAction> + <StartProgram>$(MSBuildProjectDirectory)\..\packages\NUnit.2.5.10.11092\tools\nunit.exe</StartProgram> + <StartArguments>$(MSBuildProjectDirectory)\$(OutputPath)\$(AssemblyName).dll</StartArguments> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> diff --git a/packages/NUnit.2.5.10.11092/tools/nunit.exe.config b/packages/NUnit.2.5.10.11092/tools/nunit.exe.config index 1641a50..ebe1085 100644 --- a/packages/NUnit.2.5.10.11092/tools/nunit.exe.config +++ b/packages/NUnit.2.5.10.11092/tools/nunit.exe.config @@ -14,11 +14,16 @@ --> <!-- <add key="helpUrl" value="http://www.nunit.org" /> --> </appSettings> - + <startup> + <supportedRuntime version="v4.0.30319" /> + <supportedRuntime version="v2.0.50727" /> + </startup> <runtime> <!-- We need this so test exceptions don't crash NUnit --> <legacyUnhandledExceptionPolicy enabled="1" /> + <loadFromRemoteSources enabled="true" /> + <!-- Look for addins in the addins directory for now --> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="lib;addins" /> |