From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 19:52:57 +0000 (-0700) Subject: [release/8.0] Enable interceptors implicitly in binder gen nupkg when generator is... X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e500806c224cb58328936133ca7a7bde896b514c;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [release/8.0] Enable interceptors implicitly in binder gen nupkg when generator is enabled (#91559) * Enable interceptors implicitly in binder gen nupkg when generator is enabled * Simplify impl & remove unneeded target --------- Co-authored-by: Layomi Akinrinade --- diff --git a/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/Microsoft.Extensions.Configuration.Binder.targets b/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/Microsoft.Extensions.Configuration.Binder.targets index f091c7a..fdfd48d 100644 --- a/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/Microsoft.Extensions.Configuration.Binder.targets +++ b/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/Microsoft.Extensions.Configuration.Binder.targets @@ -1,5 +1,10 @@ - + + $(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration + + + @@ -8,8 +13,8 @@ - + <_Microsoft_Extensions_Configuration_Binder_Compatible_TargetFramework Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netcoreapp2.0')) AND