Skip to content

Commit c33b523

Browse files
authored
GSAGH-540 - strong name assembly (#21)
* GSAGH-540 - strong name assembly * GSAGH-540 - increase build number
1 parent 925ec81 commit c33b523

File tree

7 files changed

+17
-8
lines changed

7 files changed

+17
-8
lines changed

CodeGen/Generators/NanoFrameworkGen/NuspecGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public string Generate()
2525
<package xmlns=""http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"">
2626
<metadata>
2727
<id>OasysUnits.nanoFramework.{_quantity.Name}</id>
28-
<version>1.2.0</version>
28+
<version>1.2.1</version>
2929
<title>Units.NET {_quantity.Name} - nanoFramework</title>
3030
<authors>Andreas Gullberg Larsen,nanoframework</authors>
3131
<owners>OasysUnits</owners>

OasysUnits.NumberExtensions/OasysUnits.NumberExtensions.csproj

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<!-- NuGet properties -->
33
<PropertyGroup>
44
<PackageId>OasysUnits.NumberExtensions</PackageId>
5-
<Version>1.2.0</Version>
5+
<Version>1.2.1</Version>
66
<Authors>Andreas Gullberg Larsen, Lu Li, Jon Suda</Authors>
77
<Title>Units.NET NumberExtensions</Title>
88
<Description>Adds extension methods to number types to more easily create quantities, such as 5.Meters() instead of Length.FromMeters(5).</Description>
@@ -23,6 +23,8 @@
2323
<Nullable>enable</Nullable>
2424
<RootNamespace>OasysUnits</RootNamespace>
2525
<TargetFramework>netstandard2.0</TargetFramework>
26+
<SignAssembly>True</SignAssembly>
27+
<AssemblyOriginatorKeyFile>../OasysUnits.snk</AssemblyOriginatorKeyFile>
2628
</PropertyGroup>
2729

2830
<ItemGroup>

OasysUnits.Serialization.JsonNet/OasysUnits.Serialization.JsonNet.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NuGet properties -->
33
<PropertyGroup>
44
<PackageId>OasysUnits.Serialization.JsonNet</PackageId>
5-
<Version>1.2.0</Version>
5+
<Version>1.2.1</Version>
66
<Authors>Andreas Gullberg Larsen, Oasys</Authors>
77
<Title>OasysUnits Serialization with Json.NET</Title>
88
<Description>A helper library for serializing and deserializing types in OasysUnits using Json.NET.</Description>
@@ -37,6 +37,8 @@
3737
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
3838
<IncludeSymbols>true</IncludeSymbols>
3939
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
40+
<SignAssembly>True</SignAssembly>
41+
<AssemblyOriginatorKeyFile>../OasysUnits.snk</AssemblyOriginatorKeyFile>
4042
</PropertyGroup>
4143

4244
<!-- NuGet references that work for both signed and unsigned -->

OasysUnits.Tests/OasysUnits.Tests.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<IsTestProject>true</IsTestProject>
77
<NoWarn>CS0618</NoWarn>
88
<Nullable>enable</Nullable>
9+
<SignAssembly>True</SignAssembly>
10+
<AssemblyOriginatorKeyFile>../OasysUnits.snk</AssemblyOriginatorKeyFile>
911
</PropertyGroup>
1012

1113
<ItemGroup>

OasysUnits.snk

596 Bytes
Binary file not shown.

OasysUnits/AssemblyInfo.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
using System.Runtime.CompilerServices;
66

77
[assembly: CLSCompliant(true)]
8-
[assembly: InternalsVisibleTo("OasysUnits.Tests")]
8+
[assembly: InternalsVisibleTo("OasysUnits.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100252fff973c5e1656f068966f12d1424bb2cbc813e9b14a62a6c7e71bd034d3043852c12fcc725fec2ed1f56bcdd57ecdb019b4e75db5df53da8fc2b0de176465c9ab8d87dbc45ef535992c7552f194d8dcedeef91f01563e81fa433bafd6cdad1fc410446ee85f437ec4d1e3fe0bafc9cf211c4b62f47b75fdffe47815b3e5e9")]
9+
910

OasysUnits/OasysUnits.csproj

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NuGet properties -->
33
<PropertyGroup>
44
<PackageId>OasysUnits</PackageId>
5-
<Version>1.2.0</Version>
5+
<Version>1.2.1</Version>
66
<Authors>Andreas Gullberg Larsen, Oasys</Authors>
77
<Title>OasysUnits</Title>
88
<Description>Get all the common units of measurement and the conversions between them. It is light-weight and thoroughly tested.</Description>
@@ -16,12 +16,12 @@
1616
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1717
<PackageTags>unit units quantity quantities measurement si metric imperial abbreviation abbreviations convert conversion parse immutable</PackageTags>
1818
<PackageReleaseNotes>This is a release of UnitsNet 6.0.0-pre012 with additional support for Oasys units.</PackageReleaseNotes>
19-
<Platforms>AnyCPU;x64</Platforms>
19+
<Platforms>AnyCPU</Platforms>
2020
</PropertyGroup>
2121

2222
<!-- Assembly and msbuild properties -->
2323
<PropertyGroup>
24-
<AssemblyVersion>1.2.0.0</AssemblyVersion> <!-- Should reflect major part of Version -->
24+
<AssemblyVersion>1.2.1.0</AssemblyVersion> <!-- Should reflect major part of Version -->
2525
<LangVersion>latest</LangVersion>
2626
<Nullable>enable</Nullable>
2727
<RootNamespace>OasysUnits</RootNamespace>
@@ -38,6 +38,8 @@
3838
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
3939
<IncludeSymbols>true</IncludeSymbols>
4040
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
41+
<SignAssembly>True</SignAssembly>
42+
<AssemblyOriginatorKeyFile>../OasysUnits.snk</AssemblyOriginatorKeyFile>
4143
</PropertyGroup>
4244

4345
<!-- NuGet references that work for all TargetFrameworks, both signed and unsigned. -->

0 commit comments

Comments
 (0)