Skip to content

Commit

Permalink
Enable config binding source generator
Browse files Browse the repository at this point in the history
Enable the new configuration binding source generator.
  • Loading branch information
martincostello committed Jul 17, 2023
1 parent 58c602d commit 4308592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DependabotHelper/DependabotHelper.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
<EnableRequestDelegateGenerator>true</EnableRequestDelegateGenerator>
<IsPackable>false</IsPackable>
<RootNamespace>MartinCostello.DependabotHelper</RootNamespace>
Expand Down
2 changes: 2 additions & 0 deletions tests/DependabotHelper.Tests/DependabotHelper.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<CoverletOutput>$([System.IO.Path]::Combine($(ArtifactsPath), 'coverage', 'coverage'))</CoverletOutput>
<CoverletOutputFormat>$(CoverletOutputFormat),cobertura</CoverletOutputFormat>
<Exclude>[*Tests]*,[xunit.*]*</Exclude>
<!-- HACK Workaround for https://github.com/dotnet/runtime/issues/89007 -->
<Exclude>$(Exclude),[*]Microsoft.Extensions.Configuration.Binder.SourceGeneration.*</Exclude>
<ExcludeByAttribute>GeneratedCodeAttribute</ExcludeByAttribute>
<Threshold>85</Threshold>
</PropertyGroup>
Expand Down

0 comments on commit 4308592

Please sign in to comment.