Repository navigation
Fix Build: Disable NuGet auditing in file-based app test - #39512
Merged
Merged
Conversation
- Match the repository test settings for the temporary app Co-authored-by: Copilot <[email protected]>
Copilot CLI created this pull request from a session on behalf of
AndriySvyryd
November 4, 2026 00:57
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed change has no active issues and narrowly disables NuGet auditing only in the temporary test application to prevent audit warnings from disrupting the test.
No open issues 🎉
What changed in this PR
Updates the file-based app test to disable NuGet auditing in its temporary application, preventing ILCompiler audit warnings from disrupting the test without changing auditing for user projects.
Changes:
- Adds
#:property NuGetAudit=falseto the generated file-based app. - Aligns the temporary app with the repository’s test configuration.
- Keeps NuGet auditing unchanged for user projects.
| File | Description |
|---|---|
test/dotnet-ef.Tests/ProjectTest.cs |
Disables NuGet auditing in the temporary file-based app used by the build test. |
Review effort: Lite
AndriySvyryd
marked this pull request as ready for review
November 4, 2026 01:03
AndriySvyryd
enabled auto-merge (squash)
November 4, 2026 01:03
Code coverage overviewLanguages: C# C# / code-coverage
View coverage of the 10 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
cincuranet
approved these changes
Nov 5, 2026
6 tasks done
Hassan1305
added a commit
to Hassan1305/efcore
that referenced
this pull request
Nov 13, 2026
Picks up dotnet#39512, which fixes the File_based_app_can_be_built test failure. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hassan1305
added a commit
to Hassan1305/efcore
that referenced
this pull request
Nov 13, 2026
Picks up dotnet#39512, which fixes the File_based_app_can_be_built test failure. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disable NuGet auditing in the temporary app created by
ProjectTest.File_based_app_can_be_built, matchingtest/Directory.Build.props, which the app outside the repository does not inherit. This prevents the ILCompiler NU1903 warning from disrupting the test without changing auditing for user projects.