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

Set up for unpackaged app projects #3172

Closed
wants to merge 6 commits into from

Conversation

mattleibow
Copy link
Member

Description of Change

nuff said!

@mattleibow mattleibow changed the base branch from main to release/6.0.1xx-preview10 October 28, 2021 22:55
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a gotcha since we pretend support winui on win7, but since we don't, we should probably update all the things to be win10-x64.

.UseVersionTracking()
//.UseVersionTracking()
Copy link
Member Author

Choose a reason for hiding this comment

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

This uses preferences which assumes packaged projects.

@mattleibow mattleibow mentioned this pull request Oct 29, 2021
18 tasks
string root;
try
{
root = global::Windows.ApplicationModel.Package.Current.InstalledLocation.Path;
Copy link
Member

Choose a reason for hiding this comment

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

Is there a non-exceptional way to do this? Otherwise unpackaged apps will all get exceptions on startup?

{
try
{
return Package.Current.Id.Name;
Copy link
Member

Choose a reason for hiding this comment

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

See earlier comment about exceptions. This doesn't look so nice ☹️

@Eilon Eilon added the legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) label Nov 1, 2021
@mattleibow
Copy link
Member Author

This is totes hax! Needs a real fix in here. Probably not even this PR. Let me close to avoid confusion.

@mattleibow mattleibow closed this Nov 5, 2021
@mattleibow mattleibow deleted the dev/unpackaged branch April 4, 2022 16:50
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2023
@Eilon Eilon added the t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants