Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sdks/dotnet/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PackageVersion Include="System.Text.Json" Version="10.0.9" />
</ItemGroup>
<ItemGroup Label="Code quality">
<PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15" />
<PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="18.7.23" />
</ItemGroup>
<ItemGroup Label="Testing">
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
Expand Down
6 changes: 6 additions & 0 deletions tests/sdks/dotnet/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,9 @@ csharp_prefer_static_anonymous_function = true:suggestion
dotnet_diagnostic.xUnit1048.severity = error
dotnet_diagnostic.xUnit1051.severity = suggestion
dotnet_diagnostic.CA2016.severity = error

# These E2E tests intentionally exercise the synchronous SDK API
# (e.g. Env.Load, Env.ResolveFile, builder.Resolve/Inject) to verify the
# sync-over-async surface works for consumers. Suppress VSTHRD103 so the
# analyzer does not flag (or auto-rewrite) these deliberate sync calls.
dotnet_diagnostic.VSTHRD103.severity = none
Loading