-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Switching to 4 part Windows versions #13272
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
Conversation
|
This should fix #13266 @sfoslund Can you make sure it covers all those cases, including parsing Windows as the Also, as @wli3 mentioned, the logic to match to the |
src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.TargetFrameworkInference.targets
Outdated
Show resolved
Hide resolved
|
@sfoslund I think sdk/src/Tests/Microsoft.NET.Build.Tests/GivenWeWantToRequireWindowsForDesktopApps.cs Line 187 in 5cb7e1f
|
|
If it fails just delete it. It is mostly the same coverage of as https://github.com/dotnet/installer/blob/ceb129f3455383f01d78052999b8a6d6201be261/test/EndToEnd/GivenWindows50App.cs |
|
@wli3 it actually seems to be passing locally |
|
hmm.... it might fail on stage 0 update. Anyway, that's better |
|
tests failed |
f28b6e5 to
82569d2
Compare
| [InlineData(new[] { "1.0", "1.1" }, "ios", "1.1", new[] { "IOS", "IOS1_1", "IOS1_0" })] | ||
| [InlineData(new[] { "11.11", "12.12", "13.13" }, "android", "12.12", new[] { "ANDROID", "ANDROID11_11", "ANDROID12_12" })] | ||
| [InlineData(new string[] { /* Use the built in SdkSupportedTargetPlatform items */}, "windows", "10.0.19041", new[] { "WINDOWS", "WINDOWS7_0", "WINDOWS8_0", "WINDOWS10_0_17763", "WINDOWS10_0_18362", "WINDOWS10_0_19041" })] | ||
| [InlineData(new string[] { /* Use the built in SdkSupportedTargetPlatform items */}, "windows", "10.0.19041.0", new[] { "WINDOWS", "WINDOWS7_0", "WINDOWS8_0", "WINDOWS10_0_17763_0", "WINDOWS10_0_18362_0", "WINDOWS10_0_19041_0" })] |
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.
Ugh. This is a side effect I didn't consider. I think we probably want these to be based on the 3 part version if the 4th part is 0.
@terrajobst thoughts?
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.
Once we decide on 4 parts, everything should be 4 parts.
src/Tests/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildWithATargetPlatform.cs
Outdated
Show resolved
Hide resolved
|
Hello @sfoslund! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Fixes #13266