diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SharpSnippetCompiler.Core.csproj b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SharpSnippetCompiler.Core.csproj
index ec12474e85..ccd2e0f549 100644
--- a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SharpSnippetCompiler.Core.csproj
+++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SharpSnippetCompiler.Core.csproj
@@ -10,8 +10,10 @@
     <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
     <NoStdLib>False</NoStdLib>
     <WarningLevel>4</WarningLevel>
-    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
+    <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <NoWin32Manifest>False</NoWin32Manifest>
+    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
     <OutputPath>..\SharpSnippetCompiler\bin\</OutputPath>
@@ -20,6 +22,7 @@
     <Optimize>False</Optimize>
     <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
     <OutputPath>..\SharpSnippetCompiler\bin\</OutputPath>
@@ -35,6 +38,7 @@
     <BaseAddress>4194304</BaseAddress>
     <PlatformTarget>AnyCPU</PlatformTarget>
     <FileAlignment>4096</FileAlignment>
+    <Prefer32Bit>False</Prefer32Bit>
   </PropertyGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
   <ItemGroup>
diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SnippetCompilerProject.cs b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SnippetCompilerProject.cs
index f5e3ce889e..5f5a72d9a9 100644
--- a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SnippetCompilerProject.cs
+++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/SnippetCompilerProject.cs
@@ -46,7 +46,7 @@ namespace ICSharpCode.SharpSnippetCompiler.Core
 			SetProperty("Debug", null, "CheckForOverflowUnderflow", "True", PropertyStorageLocations.ConfigurationSpecific, true);
 			SetProperty("Release", null, "CheckForOverflowUnderflow", "False", PropertyStorageLocations.ConfigurationSpecific, true);
 			
-			SetProperty("Debug", null, "DefineConstants", "DEBUG;TRACE",PropertyStorageLocations.ConfigurationSpecific, false);
+			SetProperty("Debug", null, "DefineConstants", "DEBUG;TRACE", PropertyStorageLocations.ConfigurationSpecific, false);
 			SetProperty("Release", null, "DefineConstants", "TRACE", PropertyStorageLocations.ConfigurationSpecific, false);
 		}
 
@@ -87,7 +87,8 @@ namespace ICSharpCode.SharpSnippetCompiler.Core
 			return new ProjectCreateInformation {
 				Solution = new Solution(new ProjectChangeWatcher(String.Empty)),
 				OutputProjectFileName = Path.Combine(PropertyService.ConfigDirectory, "SharpSnippet.exe"),
-				ProjectName = "SharpSnippet"
+				ProjectName = "SharpSnippet",
+				Platform = "x86"
 			};
 		}
 		
diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler/SharpSnippetCompiler.csproj b/samples/SharpSnippetCompiler/SharpSnippetCompiler/SharpSnippetCompiler.csproj
index 049ae8f873..8d631f16e5 100644
--- a/samples/SharpSnippetCompiler/SharpSnippetCompiler/SharpSnippetCompiler.csproj
+++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler/SharpSnippetCompiler.csproj
@@ -10,8 +10,10 @@
     <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
     <NoStdLib>False</NoStdLib>
     <WarningLevel>4</WarningLevel>
-    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
+    <TreatWarningsAsErrors>False</TreatWarningsAsErrors>
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <NoWin32Manifest>False</NoWin32Manifest>
+    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
     <OutputPath>bin\</OutputPath>
@@ -20,6 +22,7 @@
     <Optimize>False</Optimize>
     <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
     <OutputPath>bin\</OutputPath>
@@ -33,7 +36,7 @@
     <RegisterForComInterop>False</RegisterForComInterop>
     <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
     <BaseAddress>4194304</BaseAddress>
-    <PlatformTarget>AnyCPU</PlatformTarget>
+    <PlatformTarget>x86</PlatformTarget>
     <FileAlignment>4096</FileAlignment>
   </PropertyGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />