File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
UnitsNet.Serialization.JsonNet Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 16
16
<PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
17
17
<PackageTags >unit units measurement json Json.NET Newtonsoft serialize deserialize serialization deserialization</PackageTags >
18
18
</PropertyGroup >
19
+
19
20
<!-- Assembly and msbuild properties -->
20
21
<PropertyGroup >
21
22
<TargetFrameworks >netstandard1.0;net35;net40</TargetFrameworks >
22
- <AssemblyName >UnitsNet.Serialization.JsonNet</AssemblyName >
23
23
<RootNamespace >UnitsNet.Serialization.JsonNet</RootNamespace >
24
24
<!-- Workaround for building with dotnet CLI and targeting .NET 3.5: https://github.com/Microsoft/msbuild/issues/1333#issuecomment-296346352 -->
25
25
<FrameworkPathOverride Condition =" '$(TargetFramework)' == 'net35'" >C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride >
26
26
<OutputPath >..\Artifacts\$(MSBuildProjectName)</OutputPath >
27
27
<NoWarn >CS0618</NoWarn >
28
28
</PropertyGroup >
29
+
29
30
<!-- NuGet references that work for both signed and unsigned -->
30
31
<ItemGroup >
31
32
<PackageReference Include =" JetBrains.Annotations" Version =" 10.4.0" PrivateAssets =" All" />
32
33
<PackageReference Include =" Newtonsoft.Json" Version =" 9.0.1" />
33
34
</ItemGroup >
34
- <!-- Exclude certain files from default inclusion pattern -->
35
+
36
+ <!-- Exclude obj folder from default inclusion pattern -->
35
37
<ItemGroup >
36
38
<Compile Remove =" obj\**" />
37
39
<EmbeddedResource Remove =" obj\**" />
38
40
<None Remove =" obj\**" />
39
41
</ItemGroup >
42
+
40
43
</Project >
Original file line number Diff line number Diff line change 12
12
<DefineConstants >SIGNED</DefineConstants >
13
13
<SignAssembly >true</SignAssembly >
14
14
<AssemblyOriginatorKeyFile >$(MSBuildProjectDirectory)\..\UnitsNet.snk</AssemblyOriginatorKeyFile >
15
- <AssemblyName >UnitsNet.Serialization.JsonNet.Signed</AssemblyName >
16
15
</PropertyGroup >
17
16
18
17
<!-- Signed project references, will also generate the corresponding nuget dependencies -->
Original file line number Diff line number Diff line change 21
21
<!-- Assembly and msbuild properties -->
22
22
<PropertyGroup >
23
23
<TargetFrameworks >netstandard1.0;net35;net40</TargetFrameworks >
24
- <AssemblyName >UnitsNet</AssemblyName >
25
24
<RootNamespace >UnitsNet</RootNamespace >
26
25
<!-- Workaround for building with dotnet CLI and targeting .NET 3.5: https://github.com/Microsoft/msbuild/issues/1333#issuecomment-296346352 -->
27
26
<FrameworkPathOverride Condition =" '$(TargetFramework)' == 'net35'" >C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride >
33
32
<PackageReference Include =" JetBrains.Annotations" Version =" 10.4.0" PrivateAssets =" All" />
34
33
</ItemGroup >
35
34
36
- <!-- Exclude certain files from default inclusion pattern -->
35
+ <!-- Exclude obj folder from default inclusion pattern -->
37
36
<ItemGroup >
38
37
<Compile Remove =" obj\**" />
39
38
<Compile Remove =" Properties\AssemblyInfo*.cs" />
40
39
<EmbeddedResource Remove =" obj\**" />
41
40
<None Remove =" obj\**" />
42
41
</ItemGroup >
42
+
43
43
</Project >
Original file line number Diff line number Diff line change 12
12
<DefineConstants >SIGNED</DefineConstants >
13
13
<SignAssembly >true</SignAssembly >
14
14
<AssemblyOriginatorKeyFile >$(MSBuildProjectDirectory)\..\UnitsNet.snk</AssemblyOriginatorKeyFile >
15
- <AssemblyName >UnitsNet.Signed</AssemblyName >
16
15
</PropertyGroup >
17
16
18
17
</Project >
You can’t perform that action at this time.
0 commit comments