You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source generator from Microsoft.Gen.Logging should be compatible with Microsoft.Extensions.Logging.Abstractions and should not cause warnings or errors for users.
Proposed Solution
Update the source generator in Microsoft.Gen.Logging to avoid triggering LOGGEN036 and similar warnings/errors and ensure compatibility with Microsoft.Extensions.Logging.Abstractions.
The source generator from Microsoft.Gen.Logging should not trigger warnings or errors and should be compatible with Microsoft.Extensions.Logging.Abstractions.
Actual behavior
Currently, it triggers warnings such as LOGGEN036 : The type "" doesn't implement ToString(), IConvertible..., which breaks builds when treat warnings as errors is enabled.
Description
Issue Description
The source generator from
Microsoft.Gen.Logging
should be compatible withMicrosoft.Extensions.Logging.Abstractions
and should not cause warnings or errors for users.Proposed Solution
Update the source generator in Microsoft.Gen.Logging to avoid triggering LOGGEN036 and similar warnings/errors and ensure compatibility with Microsoft.Extensions.Logging.Abstractions.
Reproduction Steps
https://github.com/vanbukin/ReproExtensions5476/tree/main
Expected behavior
The source generator from Microsoft.Gen.Logging should not trigger warnings or errors and should be compatible with Microsoft.Extensions.Logging.Abstractions.
Actual behavior
Currently, it triggers warnings such as
LOGGEN036 : The type "" doesn't implement ToString(), IConvertible...
, which breaks builds whentreat warnings as errors
is enabled.Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
Reference discussion in issue #5476.
The text was updated successfully, but these errors were encountered: