Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

By default gmStudio authors .NET project files (eg. .csproj) to build for Platform=AnyCPU.  You may easily alter this using an Author/Fix in your translation script:

Code Block
...
<Author>
<Fix name="PostEdit">
   <Replace name="Force Set Debug Configuration to PlatformTarget=x86" lang="csproj">
   <OldBlock><![CDATA[
      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
   ]]></OldBlock>
   <NewBlock><![CDATA[
      <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
         <PlatformTarget>x86</PlatformTarget>
   ]]></NewBlock>
   </Replace>
</Fix>
</Author>

...