diff --git a/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/EnableConfigurationBindingGenerator.targets b/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/EnableConfigurationBindingGenerator.targets index 06156ba479247..ba91b08d01ec8 100644 --- a/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/EnableConfigurationBindingGenerator.targets +++ b/src/libraries/Microsoft.Extensions.Configuration.Binder/src/buildTransitive/EnableConfigurationBindingGenerator.targets @@ -1,17 +1,10 @@ - - - <_Microsoft_Extensions_Configuration_BinderAnalyzer Include="@(Analyzer)" Condition="'%(Analyzer.NuGetPackageId)' == 'Microsoft.Extensions.Configuration.Binder'" /> - - - + AfterTargets="ResolvePackageDependenciesForBuild;ResolveNuGetPackageAssets"> - +