-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Revert "Update WindowsAppSDK to 1.8 (#32174)" #33537
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -167,11 +167,8 @@ public void PublishPackaged(string id, string framework, string config, bool use | |
| Assert.IsTrue(DotnetInternal.Publish(projectFile, config, framework: $"{framework}-windows10.0.19041.0", properties: BuildProps), | ||
| $"Project {Path.GetFileName(projectFile)} failed to build. Check test output/attachments for errors."); | ||
|
|
||
| var rid = usesRidGraph ? "win10-x64/" : ""; | ||
| var prefix = framework == DotNetCurrent | ||
| ? "" | ||
| : $"bin/{config}/{framework}-windows10.0.19041.0/"; | ||
| var assetsRoot = Path.Combine(projectDir, $"{prefix}{rid}AppPackages/{name}_1.0.0.1_Test"); | ||
| var rid = usesRidGraph ? "win10-x64" : "win-x64"; | ||
| var assetsRoot = Path.Combine(projectDir, $"bin/{config}/{framework}-windows10.0.19041.0/{rid}/AppPackages/{name}_1.0.0.1_Test"); | ||
|
Comment on lines
+170
to
+171
|
||
|
|
||
| AssetExists($"{name}_1.0.0.1_x64.msix"); | ||
|
|
||
|
|
||
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.
The null-coalescing operator has incorrect precedence here. Due to operator precedence, this evaluates as
Information((\"Cert thumbprint: \" + certificateThumbprint) ?? \"null\")which will never use the "null" fallback since string concatenation with null produces a string. Should beInformation(\"Cert thumbprint: \" + (certificateThumbprint ?? \"null\"))to correctly display "null" when certificateThumbprint is null.