-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Prevent mobile and lib templates from opening editors if in VS #12756
Conversation
With the Maui overview page in the editor, it doesn't quite make sense to have the other documents open on project creation.
Hey there @jknaudt21! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
We want the new behavior for VS Windows, but not VS Mac (which doesn't yet show overview UI and thus should still show xaml). |
Should this happen for blazor too? |
Not Blazor, not today. Maybe in the future there will be a version of the overview ui for MAUI Blazor apps, but today that ui is just intended for Maui XAML. |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
The post action should trigger on VSMac. According from a conversation I had with Phil Henning, the HostIdentifier for vsmac is "vsmac". |
/backport to net7.0 |
Started backporting to net7.0: https://github.com/dotnet/maui/actions/runs/4007701254 |
With the Maui overview page in VS, it doesn't quite make sense to have the other documents open on project creation. The overview page only displays in the class library and application projects.
Description of Change
Added
HostIdentifier != \"vs\"
to the post action condition. That way the action isn't executed when VS is creating a new project.Issues Fixed
Fixes #12755