Skip to content

Commit 80324df

Browse files
authored
Assembly version fix (#53)
Changed csproj to display product version on the output assembly correctly.
1 parent e99783f commit 80324df

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
44
<AssemblyName>Serilog.Enrichers.ClientInfo</AssemblyName>
5-
<RootNamespace>Serilog</RootNamespace>
6-
<LangVersion>latest</LangVersion>
7-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
5+
<RootNamespace>Serilog</RootNamespace>
6+
<LangVersion>latest</LangVersion>
87
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9-
<DebugType>embedded</DebugType>
10-
<EmbedAllSources>true</EmbedAllSources>
11-
<Version>2.1.2</Version>
12-
</PropertyGroup>
8+
<DebugType>embedded</DebugType>
9+
<EmbedAllSources>true</EmbedAllSources>
10+
<Version>2.2.0</Version>
11+
<AssemblyVersion>2.2.0</AssemblyVersion>
12+
</PropertyGroup>
1313

1414
<ItemGroup>
1515
<FrameworkReference Include="Microsoft.AspNetCore.App" />
@@ -18,5 +18,4 @@
1818
<ItemGroup>
1919
<PackageReference Include="Serilog" Version="4.3.0" />
2020
</ItemGroup>
21-
2221
</Project>

0 commit comments

Comments
 (0)