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
Add support for dotnet new template #1520
Conversation
...Template/Uno.ProjectTemplates.Dotnet/content/xamarinforms-wasm/UnoQuickStart.Wasm/Program.cs
Outdated
Show resolved
Hide resolved
...Template/Uno.ProjectTemplates.Dotnet/content/xamarinforms-wasm/UnoQuickStart.Wasm/Program.cs
Show resolved
Hide resolved
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<PackageTags>dotnet-new;templates;uno-platform</PackageTags> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add xamarin.forms
, xamarinforms
or xamarin-forms
? My vote is xamarin-forms
or matching whatever the convention that .NET 5 is heading with tags. Dash is more UNIXy (👍)
NuGet uses a mixture of terms:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved but nothing has been done ;-)
@@ -0,0 +1,10 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate of the same folder which will cause maintenance debt in the future. Can WasmCSS/*
be referenced from else where or generated from the source tree or is it not worth doing?
...jectTemplates.Dotnet/content/xamarinforms-wasm/UnoQuickStart.Wasm/WasmScripts/AppManifest.js
Show resolved
Hide resolved
"author": "Uno Platform", | ||
"classifications": [ "Console" ], | ||
"name": "Uno Platform WebAssembly Head for Xamarin.Forms", | ||
"identity": "Uno.Platform.Wasm.XamarinForms", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new naming convention, shall we run this by the team and double check before we get locked in? I read this as Uno.Platform.PLATFORM.PACKAGE-FOR-PLATFORM
.
9efc85c
to
e8b1cb9
Compare
e8b1cb9
to
f114e21
Compare
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<PackageTags>dotnet-new;templates;uno-platform</PackageTags> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved but nothing has been done ;-)
}, | ||
"primaryOutputs": [ | ||
{ "path": "UnoQuickStart.Wasm" } | ||
// Cannot add the shared project because of path replace issues: https://github.com/dotnet/templating/issues/2068 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not compliant with the json spec
PR Type
What kind of change does this PR introduce?
What is the new behavior?
Introduce a base package to support
dotnet new
syntax.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):