This commit is contained in:
mterwoord_cp 2009-10-24 15:30:48 +00:00
parent 2154ae9f68
commit f972b830ec
2 changed files with 12 additions and 2 deletions

View file

@ -53,8 +53,15 @@ namespace Cosmos.Compiler.Builder
public static void Run()
{
var xBuildUI = new BuildUI();
xBuildUI.Execute();
if (IntPtr.Size == 8)
{
MessageBox.Show("Please set your application to use x86 as CPU target");
}
else
{
var xBuildUI = new BuildUI();
xBuildUI.Execute();
}
}
}
}

View file

@ -25,6 +25,9 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>