Skip to content

Add HostIdentifier for mauilib template to prevent warning during creation#13903

Merged
jfversluis merged 1 commit into
mainfrom
fix-4994
Mar 14, 2023
Merged

Add HostIdentifier for mauilib template to prevent warning during creation#13903
jfversluis merged 1 commit into
mainfrom
fix-4994

Conversation

@jfversluis

Copy link
Copy Markdown
Member

Description of Change

This adds a binding to the HostIdentifier variable in the template so that it identifies the creating application correctly and therefore does not try to execute the opening of a cs file while creating the template from the command-line which will then in turn trigger a warning.

Issues Fixed

Fixes #4994

@jfversluis jfversluis added the area-templates Project templates, Item Templates for Blazor and MAUI label Mar 14, 2023
@rmarinho rmarinho requested a review from Eilon March 14, 2023 11:42

@Eilon Eilon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I definitely don't understand this, but if it fixes the issue, I'm sure it's fine 😁

@jfversluis jfversluis merged commit 40dfb10 into main Mar 14, 2023
@jfversluis jfversluis deleted the fix-4994 branch March 14, 2023 17:02
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 13, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-templates Project templates, Item Templates for Blazor and MAUI fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running dotnet new mauilib produces a warning 'The post action 84c0da21-51c8-4541-9940-6ca19af04ee6 is not supported'

3 participants