diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj index 93f58590fe..2312402c25 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj @@ -11,7 +11,7 @@ True False False - AnyCPU + x86 4 false Full diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs index 1f2e0780ae..0d20415501 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTestsBase.cs @@ -344,7 +344,7 @@ namespace Debugger.Tests compParams.IncludeDebugInformation = true; compParams.ReferencedAssemblies.Add("System.dll"); compParams.OutputAssembly = exeFilename; - compParams.CompilerOptions = "/unsafe"; + compParams.CompilerOptions = "/unsafe /platform:x86"; compParams.ReferencedAssemblies.Add(typeof(TestFixtureAttribute).Assembly.Location); CSharpCodeProvider compiler = new CSharpCodeProvider();