Skip to content

Commit

Permalink
Set Nullable to blank on EventLog.Messages
Browse files Browse the repository at this point in the history
This way no CodeAnalysis attributes are emitted into the assembly.
  • Loading branch information
eerhardt committed Apr 18, 2022
1 parent 6e8c442 commit f2c55c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>disable</Nullable>
<!-- Set Nullable to empty so Roslyn doesn't emit CodeAnalysis attributes into the assembly. -->
<Nullable></Nullable>
<Win32Resource>EventLogMessages.res</Win32Resource>
<!-- Override the parent Directory.Build.props -->
<SupportedOSPlatforms />
Expand Down

0 comments on commit f2c55c6

Please sign in to comment.