1. Christian Specht
  2. MissileSharp

Commits

Christian Specht  committed d3b3da5 Draft

use 32bit/x86 versions of NUnit to avoid exceptions when testing the WPF app

  • Participants
  • Parent commits 8ba437a
  • Branches default

Comments (0)

Files changed (2)

File Open NUnit GUI.bat

View file
-src\packages\NUnit.Runners.2.6.0.12051\tools\nunit.exe src\MissileSharp.Tests\bin\Release\MissileSharp.Tests.dll
+src\packages\NUnit.Runners.2.6.0.12051\tools\nunit-x86.exe src\MissileSharp.Tests\bin\Release\MissileSharp.Tests.dll

File build.proj

View file
 		<CreateItem Include="$(TestOutDir)\*.Tests.dll">
 			<Output TaskParameter="Include" ItemName="TestAssembly" />
 		</CreateItem>
-		<NUnit ToolPath="$(TestNUnitDir)" DisableShadowCopy="true" Assemblies="@(TestAssembly)" />
+		<NUnit ToolPath="$(TestNUnitDir)" DisableShadowCopy="true" Assemblies="@(TestAssembly)" Force32Bit="True" />
 	</Target>