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

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

View file

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