Skip to content

Commit 4821159

Browse files
jonpryordellis1972
authored andcommitted
[Mono.Android, Mono.Android.Export] Sign assemblies. (#29)
Sign the Mono.Android.dll, Mono.Android.Export.dll, Xamarin.Android.NUniteLite.dll with the Xamarin.Android public key. This will allow external contributors to seamlessly update their apps with a custom Mono.Android.dll for bug fixes/etc. without errors [0]: @borgdylan: Mono.Android.dll does not have a public key... This causes compile errors when using teh support library v4. [0]: https://gitter.im/xamarin/xamarin-android?at=572da219f36daf63798d6151
1 parent f6f1506 commit 4821159

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed

external/Java.Interop

product.snk

596 Bytes
Binary file not shown.

src/Mono.Android.Export/Mono.Android.Export.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<RootNamespace>Mono.Android.Export</RootNamespace>
99
<AssemblyName>Mono.Android.Export</AssemblyName>
1010
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
<SignAssembly>true</SignAssembly>
12+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1113
</PropertyGroup>
1214
<Import Project="..\..\Configuration.props" />
1315
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

src/Mono.Android/Mono.Android.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<RootNamespace>Android</RootNamespace>
99
<AssemblyName>Mono.Android</AssemblyName>
1010
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
<SignAssembly>true</SignAssembly>
12+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1113
</PropertyGroup>
1214
<Import Project="..\..\Configuration.props" />
1315
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

src/Xamarin.Android.NUnitLite/Xamarin.Android.NUnitLite.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
1212
<AssemblyName>Xamarin.Android.NUnitLite</AssemblyName>
1313
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
14+
<SignAssembly>true</SignAssembly>
15+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
1416
</PropertyGroup>
1517
<Import Project="..\..\Configuration.props" />
1618
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

0 commit comments

Comments
 (0)