Skip to content

Commit 453d3bf

Browse files
committed
Update Java.Interop-MonoAndroid.csproj
1 parent 4e6f9c1 commit 453d3bf

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

src/Java.Interop/Java.Interop-MonoAndroid.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@
1515
<SignAssembly>true</SignAssembly>
1616
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1717
<BaseIntermediateOutputPath>obj-MonoAndroid\</BaseIntermediateOutputPath>
18+
<LangVersion>8.0</LangVersion>
1819
</PropertyGroup>
1920
<Import Project="..\..\Configuration.props" />
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>
2223
<DebugType>full</DebugType>
2324
<Optimize>false</Optimize>
2425
<OutputPath>..\..\bin\Debug</OutputPath>
25-
<DefineConstants>DEBUG;INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS</DefineConstants>
26+
<DefineConstants>DEBUG;INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS;INTERNAL_NULLABLE_ATTRIBUTES</DefineConstants>
2627
<ErrorReport>prompt</ErrorReport>
2728
<WarningLevel>4</WarningLevel>
2829
<ConsolePause>false</ConsolePause>
@@ -38,7 +39,7 @@
3839
<ErrorReport>prompt</ErrorReport>
3940
<WarningLevel>4</WarningLevel>
4041
<ConsolePause>false</ConsolePause>
41-
<DefineConstants>INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS</DefineConstants>
42+
<DefineConstants>INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS;INTERNAL_NULLABLE_ATTRIBUTES</DefineConstants>
4243
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
4344
<Nullable>enable</Nullable>
4445
<DocumentationFile>..\..\bin\Release\Java.Interop.xml</DocumentationFile>

src/Java.Interop/Java.Interop.csproj

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,10 @@
1313
<OutputPath>..\..\bin\Debug</OutputPath>
1414
<DocumentationFile>..\..\bin\Debug\Java.Interop.xml</DocumentationFile>
1515
<JNIEnvGenPath>..\..\bin\BuildDebug</JNIEnvGenPath>
16-
<DefineConstants>INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS;DEBUG;NETSTANDARD;NETSTANDARD2_0</DefineConstants>
16+
<DefineConstants>$(DefineConstants);DEBUG;NETSTANDARD;NETSTANDARD2_0</DefineConstants>
1717
<LangVersion>8.0</LangVersion>
1818
<Nullable>enable</Nullable>
1919
</PropertyGroup>
20-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Gendarme|AnyCPU' ">
21-
<OutputPath>..\..\bin\GendarmeDebug</OutputPath>
22-
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
23-
<DocumentationFile>..\..\bin\Debug\Java.Interop.xml</DocumentationFile>
24-
<JNIEnvGenPath>..\..\bin\BuildDebug</JNIEnvGenPath>
25-
<LangVersion>8.0</LangVersion>
26-
</PropertyGroup>
2720
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2821
<OutputPath>..\..\bin\Release</OutputPath>
2922
<DocumentationFile>..\..\bin\Release\Java.Interop.xml</DocumentationFile>

0 commit comments

Comments
 (0)