Skip to content

Microsoft.Extensions.Logging.Generators.Tests hardcode the AssemblyVersion #58175

@ViktorHofer

Description

@ViktorHofer

The generated logging generator baseline files all hardcode the generator's assembly version, i.e.:

[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "6.0.0.0")]

This makes reving the repository to the next major version (including tfm and assembly version) harder as it needs to be, as the test files need to be updated whenever assembly versions change.

@maryamariyan can you please look into this so that we can avoid the hardcoded version?

Failed in #58011.

Metadata

Metadata

Assignees

Labels

area-Extensions-Logginggood first issueIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributors

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions