Skip to content

System.Diagnostics.EventLog.Messages.dll doesn't have fileversion and other resources #99997

Open
@f-camera

Description

@f-camera

Description

The file System.Diagnostics.EventLog.Messages.dl as present in NuGet package (e.g.) https://www.nuget.org/packages/System.Diagnostics.EventLog/8.0.0 is missing every detail. Since we need to include this in our product setup, this is an issue.

PS C:\> (Get-Item .\System.Diagnostics.EventLog.Messages.dll).VersionInfo

ProductVersion   FileVersion      FileName
--------------   -----------      --------
                                  System.Diagnostics.EventLog.Messages.dll

by comparison, the other dll in the same package

PS C:\> (Get-Item .\System.Diagnostics.EventLog.dll).VersionInfo

ProductVersion   FileVersion      FileName
--------------   -----------      --------
8.0.0+5535e31... 8.0.23.53103     System.Diagnostics.EventLog.dll

Is it possible to have the dll marked with the corresponding resources?
Alternatively, is there a way to "patch" the file without breaking it?
Thanks.

Reproduction Steps

  1. Download the released package (e.g. https://www.nuget.org/packages/System.Diagnostics.EventLog/8.0.0 ),
  2. unpack it
  3. inspect dll details

Expected behavior

dlls have correct File Version

Actual behavior

System.Diagnostics.EventLog.Messages.dl doesn't have

Regression?

I sampled older releases (e.g. 7.0.0 and 6.0.0) and in those packages the dll doesn't have the File version. So I think it can't be claimed being a regression.

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions