-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set NuGetAudit property defaults in MSBuild #5469
Conversation
test/NuGet.Core.Tests/NuGet.Commands.Test/RestoreCommandTests/Utility/AuditUtilityTests.cs
Outdated
Show resolved
Hide resolved
@@ -163,6 +165,8 @@ function Test-NetCoreVSandMSBuildNoOp { | |||
} | |||
|
|||
function Test-NetCoreTargetFrameworksVSandMSBuildNoOp { | |||
[SkipTest('https://github.com/NuGet/Home/issues/13003')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the PR description, but this is failing because I forgot to update dotnet/project-system to pass NuGetAuditMode
in nomination:
We can either:
- Merge this PR with the skip and then I'll need to undo the skip once project-system merged my PR and inserts into VS
- Wait until project-system merges and inserts the fix, then I need to update this PR to remove these skips.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
personally, I'm fine with merging the skip.
Let's just get it done :)
Bug
Fixes: NuGet/Home#12960
Regression? No
Description
In order to make Visual Studio's project properties window more user friendly, we need to set these properties default values in project evaluation. See dotnet/project-system#9246 for more info.
Since this breaks NuGetAudit's telemetry for telling the difference between "explicit enable" and "implicit enable", it was changed to just "enabled" or "disabled". This is a breaking change, so telemetry queries need to be updated, but it reduces long term confusion for people looking at telemetry, as they no longer need to understand what implicit/explicit really mean.
Added skips for 2 VS E2E tests that are failing because project system's nomination isn't passing through the
NuGetAuditMode
property. I already have a PR to fix that, but we have to wait until it's merged into the dotnet/project-system repo, and then dotnet/project-system is inserted into VS, before these tests can work. Fortunately project-system inserts pretty much every day, so it shouldn't take long, just depends on how quick the PR gets merged. We can either merge this PR with the skips and I'll need to revert the skips afterwards, or we can wait for project-system to merge and insert, then I can update this PR.PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation