Skip to content
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

Fix the file check for the AppxManifest #6770

Merged
merged 1 commit into from
May 3, 2022
Merged

Fix the file check for the AppxManifest #6770

merged 1 commit into from
May 3, 2022

Conversation

mattleibow
Copy link
Member

Description of Change

Just try load the right files for #2702

@mattleibow mattleibow self-assigned this May 3, 2022
@mattleibow mattleibow added the area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info label May 3, 2022
@mattleibow mattleibow added this to the 6.0.300 milestone May 3, 2022
@mattleibow
Copy link
Member Author

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@@ -47,7 +48,8 @@ public async Task<WebAuthenticatorResult> AuthenticateAsync(WebAuthenticatorOpti

static bool IsUriProtocolDeclared(string scheme)
{
var doc = XDocument.Load(PlatformUtils.AppManifestFilename, LoadOptions.None);
var docPath = FileSystemUtils.PlatformGetFullAppPackageFilePath(PlatformUtils.AppManifestFilename);
var doc = XDocument.Load(docPath, LoadOptions.None);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you do a file check here? I don’t think an unpackaged WinUI app will have a manifest?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Instead of changing behaviour in this PR, I added another step in the larger #3166 issue.

@mattleibow mattleibow merged commit 117436b into main May 3, 2022
@mattleibow mattleibow deleted the dev/fix-2702 branch May 3, 2022 18:57
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.312 Look for this fix in 6.0.312! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info fixed-in-6.0.312 Look for this fix in 6.0.312!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants