Skip to content

Commit 782f34a

Browse files
jonpryordellis1972
authored andcommitted
[Java.Interop, Java.Interop.Dynamic, Java.Interop.Export] Sign assemblies (#32)
Sign the Java.Interop, Java.Interop.Dynamic, and Java.Interop.Export assemblies with the Xamarin.Android public key, so that xamarin-android's Mono.Android.dll build can also be strong-named.
1 parent 86fd3e9 commit 782f34a

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

product.snk

596 Bytes
Binary file not shown.

src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<AssemblyName>Java.Interop.Dynamic</AssemblyName>
1313
<TargetFrameworkProfile>Profile78</TargetFrameworkProfile>
1414
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>

src/Java.Interop.Export/Java.Interop.Export.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<AssemblyName>Java.Interop.Export</AssemblyName>
1313
<TargetFrameworkProfile>Profile78</TargetFrameworkProfile>
1414
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1719
<DebugSymbols>true</DebugSymbols>

src/Java.Interop/Java.Interop.csproj

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile>
1414
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1515
<NoWarn>1591</NoWarn>
16+
<SignAssembly>true</SignAssembly>
17+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1618
</PropertyGroup>
1719
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1820
<DebugSymbols>true</DebugSymbols>
@@ -47,8 +49,6 @@
4749
<ConsolePause>false</ConsolePause>
4850
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
4951
<JNIEnvGenPath>..\..\bin\BuildDebug</JNIEnvGenPath>
50-
<SignAssembly>True</SignAssembly>
51-
<DelaySign>True</DelaySign>
5252
</PropertyGroup>
5353
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'XAIntegrationRelease|AnyCPU' ">
5454
<Optimize>True</Optimize>
@@ -59,8 +59,6 @@
5959
<ConsolePause>false</ConsolePause>
6060
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6161
<JNIEnvGenPath>..\..\bin\BuildDebug</JNIEnvGenPath>
62-
<SignAssembly>True</SignAssembly>
63-
<DelaySign>True</DelaySign>
6462
</PropertyGroup>
6563
<ItemGroup>
6664
<Compile Include="Properties\AssemblyInfo.cs" />

0 commit comments

Comments
 (0)