Skip to content

Commit

Permalink
[Mono.Android, Mono.Android.Export] Sign assemblies. (#29)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jonpryor authored and dellis1972 committed May 10, 2016
1 parent f6f1506 commit 4821159
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion external/Java.Interop
Binary file added product.snk
Binary file not shown.
2 changes: 2 additions & 0 deletions src/Mono.Android.Export/Mono.Android.Export.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<RootNamespace>Mono.Android.Export</RootNamespace>
<AssemblyName>Mono.Android.Export</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="..\..\Configuration.props" />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 2 additions & 0 deletions src/Mono.Android/Mono.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<RootNamespace>Android</RootNamespace>
<AssemblyName>Mono.Android</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="..\..\Configuration.props" />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<AssemblyName>Xamarin.Android.NUnitLite</AssemblyName>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="..\..\Configuration.props" />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down

0 comments on commit 4821159

Please sign in to comment.