-
Notifications
You must be signed in to change notification settings - Fork 202
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
.NET MAUI 9: Update doc to describe how .NET 9 uses unpackaged F5 to Windows #2415
Comments
This is landing for .NET 9 RC1. |
@davidbritch I'm not sure how you want to structure this article for .NET 9. There shouldn't be any configuration needed except to select the Windows Machine / net9.0-windows10.0.19041.0 debug target. Here's a blurb introducing Unpackaged F5 experience and how to switch it to Packaged. When debugging and deploying a new .NET MAUI project to Windows, the default behavior is to deploy the app as Unpackaged. This is controlled by the following settings. In your project's In your
If your app needs to use APIs that are only available with Windows Packaged apps and you plan on distributing your Windows app through the Microsoft Store, you can change these settings to debug and deploy as Packaged. Remove the In your
When you change these settings, you will need to enable Developer Mode on your Windows Machine. For more information about Packaged vs. Unpackaged Windows apps see Windows apps: packaging, deployment, and process. |
@davidbritch we also added a property in Visual Studio 17.12 (starting in Preview 3) that will toggle this setting for you on the Project Properties page: Maybe include this before (or after) the manual changes I wrote above? Also it's important to link to the Windows packaging article so people can make an informed choice on which they should do. We're getting asked a lot about this change in the RCs, do you have an ETA on getting the article updated? Thanks! |
@BethMassi It'll be done for the GA date (that's as precise as I can be right now). |
Type of issue
Other (describe below)
Description
For .NET 9, we're changing the default F5 deployment for Windows to Unpackaged so that we can address new users who are unable to turn on Developer Mode on their Windows machines. This will be a change for new projects that will add the WindowsPackageType attribute in the .csproj and set the launchSetting.json commandName to "Project". We need to document how to switch it back to Packaged if users need to access Windows Deployment APIs that only work with Packaged apps.
PR is here: dotnet/maui#23787
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/windows/setup?view=net-maui-9.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/windows/setup.md
Document Version Independent Id
e139fd32-4027-b014-115f-18f53ab6a46c
Article author
@davidbritch
Metadata
Associated WorkItem - 335728
The text was updated successfully, but these errors were encountered: