Skip to content

Commit c4f75f9

Browse files
committed
Fix duplicated compiler constants.
1 parent 635a351 commit c4f75f9

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

src/MsgPack.Xamarin.iOS/MsgPack.Xamarin.iOS.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<DebugType>full</DebugType>
1818
<Optimize>false</Optimize>
1919
<OutputPath>bin\Debug</OutputPath>
20-
<DefineConstants>DEBUG;__MOBILE__;__IOS__;__MOBILE__;__IOS__;__MOBILE__;__IOS__;AOT;XAMARIN;FEATURE_TAP;</DefineConstants>
20+
<DefineConstants>DEBUG;__MOBILE__;__IOS__;AOT;NETSTANDARD1_3;XAMARIN;FEATURE_TAP;</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
2323
<ConsolePause>false</ConsolePause>
@@ -29,12 +29,11 @@
2929
<ErrorReport>prompt</ErrorReport>
3030
<WarningLevel>4</WarningLevel>
3131
<ConsolePause>false</ConsolePause>
32-
<DefineConstants>__MOBILE__;__IOS__;__MOBILE__;__IOS__;__MOBILE__;__IOS__;AOT;NETSTANDARD1_3;XAMARIN;FEATURE_TAP;</DefineConstants>
32+
<DefineConstants>__MOBILE__;__IOS__;AOT;NETSTANDARD1_3;XAMARIN;FEATURE_TAP;</DefineConstants>
3333
<DocumentationFile>..\..\bin\MonoTouch10\MsgPack.xml</DocumentationFile>
3434
</PropertyGroup>
3535
<ItemGroup>
3636
<Reference Include="System" />
37-
<Reference Include="System.Xml" />
3837
<Reference Include="System.Core" />
3938
<Reference Include="monotouch" />
4039
<Reference Include="System.Numerics" />

test/MsgPack.UnitTest.Xamarin.iOS/MsgPack.UnitTest.Xamarin.iOS.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<DebugType>full</DebugType>
4545
<Optimize>false</Optimize>
4646
<OutputPath>bin\iPhone\Debug</OutputPath>
47-
<DefineConstants>DEBUG;__MOBILE__;__IOS__;__MOBILE__;__IOS__;AOT;XAMARIN;MONO;</DefineConstants>
47+
<DefineConstants>DEBUG;__MOBILE__;__IOS__;AOT;XAMARIN;MONO;</DefineConstants>
4848
<ErrorReport>prompt</ErrorReport>
4949
<WarningLevel>4</WarningLevel>
5050
<ConsolePause>false</ConsolePause>
@@ -74,7 +74,7 @@
7474
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
7575
<Optimize>true</Optimize>
7676
<OutputPath>bin\iPhone\Release</OutputPath>
77-
<DefineConstants>__MOBILE__;__IOS__;XAMIOS;MONO;</DefineConstants>
77+
<DefineConstants>__MOBILE__;__IOS__;AOT;XAMARIN;MONO;</DefineConstants>
7878
<ErrorReport>prompt</ErrorReport>
7979
<WarningLevel>4</WarningLevel>
8080
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
@@ -85,7 +85,7 @@
8585
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhone' ">
8686
<Optimize>true</Optimize>
8787
<OutputPath>bin\iPhone\Ad-Hoc</OutputPath>
88-
<DefineConstants>__MOBILE__;__IOS__;XAMIOS;MONO;</DefineConstants>
88+
<DefineConstants>__MOBILE__;__IOS__;AOT;XAMARIN;MONO;</DefineConstants>
8989
<ErrorReport>prompt</ErrorReport>
9090
<WarningLevel>4</WarningLevel>
9191
<ConsolePause>false</ConsolePause>
@@ -99,7 +99,7 @@
9999
<DebugType>full</DebugType>
100100
<Optimize>true</Optimize>
101101
<OutputPath>bin\iPhone\AppStore</OutputPath>
102-
<DefineConstants>__MOBILE__;__IOS__;</DefineConstants>
102+
<DefineConstants>__MOBILE__;__IOS__;AOT;XAMARIN;MONO;</DefineConstants>
103103
<ErrorReport>prompt</ErrorReport>
104104
<WarningLevel>4</WarningLevel>
105105
<ConsolePause>false</ConsolePause>

0 commit comments

Comments
 (0)