File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
samples/SampleWebApplication Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public static async Task<int> Main(string[] args)
3636 . ReadFrom . Services ( services )
3737 . Enrich . FromLogContext ( )
3838 . Enrich . WithProperty ( "ApplicationName" , builder . Environment . ApplicationName )
39+ . Enrich . WithProperty ( "ApplicationVersion" , ThisAssembly . InformationalVersion )
3940 . Enrich . WithProperty ( "EnvironmentName" , builder . Environment . EnvironmentName )
4041 . WriteTo . Console ( outputTemplate : OutputTemplate )
4142 . WriteTo . File (
Original file line number Diff line number Diff line change 1212 </ItemGroup >
1313
1414 <ItemGroup >
15+ <PackageReference Include =" AssemblyMetadata.Generators" Version =" 2.0.0" >
16+ <PrivateAssets >all</PrivateAssets >
17+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
18+ </PackageReference >
19+ <PackageReference Include =" MinVer" Version =" 4.3.0" >
20+ <PrivateAssets >all</PrivateAssets >
21+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
22+ </PackageReference >
1523 <PackageReference Include =" Serilog.AspNetCore" Version =" 8.0.0" />
1624 </ItemGroup >
1725
You can’t perform that action at this time.
0 commit comments