Skip to content

Commit 34ef070

Browse files
committed
Merge branch 'fix-build'
2 parents 10bc2c6 + e66cf15 commit 34ef070

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<RootNamespace>UnitsNet.Serialization.JsonNet</RootNamespace>
2424
<!-- Workaround for building with dotnet CLI and targeting .NET 3.5: https://github.com/Microsoft/msbuild/issues/1333#issuecomment-296346352 -->
2525
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride>
26-
<BaseIntermediateOutputPath>obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
2726
<OutputPath>..\Artifacts\$(MSBuildProjectName)</OutputPath>
27+
<NoWarn>CS0618</NoWarn>
2828
</PropertyGroup>
2929
<!-- NuGet references that work for both signed and unsigned -->
3030
<ItemGroup>

UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.Signed.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<DefineConstants>SIGNED</DefineConstants>
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>$(MSBuildProjectDirectory)\..\UnitsNet.snk</AssemblyOriginatorKeyFile>
15+
<AssemblyName>UnitsNet.Serialization.JsonNet.Signed</AssemblyName>
1516
</PropertyGroup>
1617

1718
<!-- Signed project references, will also generate the corresponding nuget dependencies -->

UnitsNet.Tests/UnitsNet.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>netcoreapp1.1</TargetFrameworks>
55
<RootNamespace>UnitsNet.Tests</RootNamespace>
66
<OutputPath>..\Artifacts\$(MSBuildProjectName)</OutputPath>
7+
<NoWarn>CS0618</NoWarn>
78
</PropertyGroup>
89

910
<ItemGroup>

UnitsNet/UnitsNet.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<PackageLicenseUrl>https://github.com/angularsen/UnitsNet/blob/master/LICENSE</PackageLicenseUrl>
1616
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1717
<PackageTags>unit units quantity quantities measurement si metric imperial abbreviation abbreviations convert conversion parse immutable</PackageTags>
18-
<BaseIntermediateOutputPath>obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
1918
<OutputPath>..\Artifacts\$(MSBuildProjectName)</OutputPath>
2019
</PropertyGroup>
2120

@@ -26,6 +25,7 @@
2625
<RootNamespace>UnitsNet</RootNamespace>
2726
<!-- Workaround for building with dotnet CLI and targeting .NET 3.5: https://github.com/Microsoft/msbuild/issues/1333#issuecomment-296346352 -->
2827
<FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride>
28+
<NoWarn>CS0618,CS0809</NoWarn>
2929
</PropertyGroup>
3030

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

UnitsNet/UnitsNet.NetStandard10.Signed.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<DefineConstants>SIGNED</DefineConstants>
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>$(MSBuildProjectDirectory)\..\UnitsNet.snk</AssemblyOriginatorKeyFile>
15+
<AssemblyName>UnitsNet.Signed</AssemblyName>
1516
</PropertyGroup>
1617

1718
</Project>

0 commit comments

Comments
 (0)