-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Description
Including any other interceptors with <InterceptorsNamespaces> results in them not actually being included, at all
Reproduction Steps
- Add this package
- Add another interceptor with
<InterceptorsNamespaces> - Build
Expected behavior
Builds
Actual behavior
Does not build
Regression?
No response
Known Workarounds
Use <InterceptorsPreviewNamespaces> in your project instead
Configuration
No response
Other information
Just needs one change to https://github.com/stbychkov/AutoLoggerMessage/blob/main/src/AutoLoggerMessageGenerator/AutoLoggerMessageGenerator.targets#L4
<Project InitialTargets="stbychkov_AutoLoggerMessage_Interceptors">
<Target Name="stbychkov_AutoLoggerMessage_Interceptors">
<PropertyGroup>
- <InterceptorsNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Logging.AutoLoggerMessage</InterceptorsNamespaces>
+ <InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.Extensions.Logging.AutoLoggerMessage</InterceptorsNamespaces>
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Logging.AutoLoggerMessage</InterceptorsPreviewNamespaces>
</PropertyGroup>
</Target>
</Project>Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working