mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 13:58:47 +00:00
This commit is contained in:
parent
2154ae9f68
commit
f972b830ec
2 changed files with 12 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue