-
Notifications
You must be signed in to change notification settings - Fork 701
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
Update dependencies in E2E tests #4767
Conversation
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion> | ||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> |
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 didn't look into the CI failures, but be careful about changing these values. One of the two values determines which version of the Windows SDK VS will look for on the machine, and if that version of the Windows SDK isn't defined in the vsconfig file that the DartLab machine uses for configuration, VS will pop up a dialog that will freeze the test until the test, or the entire pipeline, times out.
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.
Good catch! Thanks! Fixed.
f8e46ea
to
0578302
Compare
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.
Maybe we can use dotnet new
to create new test projects on the fly.
@@ -216,7 +216,7 @@ function Test-BuildIntegratedProjectClosureWithLegacyProjects { | |||
function Test-BuildIntegratedMixedLegacyProjects { | |||
# Arrange | |||
$project1 = New-ClassLibrary | |||
$project1 | Install-Package Newtonsoft.Json -Version 5.0.6 | |||
$project1 | Install-Package Newtonsoft.Json -Version 13.0.1 |
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.
Is it easy to declare a version variable so this can be updated in one place next time if needed?
* Update dependencies in E2E tests (#4767) * Fix component detection alert for microsoft.owin package (#4841) * Remove package for Microsoft.Owin in End2end test * Address component detection failure newtonsoft.json 4.0.1 (#4934) * remove unused Moq package from E2E test (#5358) --------- Co-authored-by: Heng Liu <[email protected]> Co-authored-by: Erick Yondon <[email protected]> Co-authored-by: Martin Ruiz <[email protected]>
* Update dependencies in E2E tests (#4767) * Fix component detection alert for microsoft.owin package (#4841) * Remove package for Microsoft.Owin in End2end test * Address component detection failure newtonsoft.json 4.0.1 (#4934) * remove unused Moq package from E2E test (#5358) * Use net6.0-windows --------- Co-authored-by: Heng Liu <[email protected]> Co-authored-by: Erick Yondon <[email protected]> Co-authored-by: Martin Ruiz <[email protected]>
Bug
Fixes: https://github.com/NuGet/Client.Engineering/issues/1818
Regression? Last working version:
Description
Update the dependency versions in E2E tests.
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation