You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
QuickStart -- VSIX installer does not create the expected environment #6
In the QuickStart readme there is a link to the VSIX installer for "Uno Solution Template Visual Studio Extension". Installing that extension does not result in Visual Studio having a project template of "Uno App Solution". There is a new category ("CPS Projects") that has only a template for "UnoQuickStart.Shared" which creates just that one project. The app.xaml.cs and mainpage.xaml.cs have "namespace $ext_safeprojectname$" which of course is an invalid namespace name.
It does address the issue, but where my confusion came from is that I typically just pick "Create new solution" and then under C# pick the appropriate category and then the template. There were no new categories under C# so I scanned and saw the new type of project called "CPS Projects" and that contains only the UnoQuickstart.Shared template per the above screen shot. Using the search method I discovered that the template "Uno App Solution" was in the C# entry (I never even knew that the C# entry also listed templates. It is in the middle of some C#/XAML templates). I reverted back to the 1.29 version of the release and indeed the app solution template was there also.
Two suggestions:
Restructure the template location
Remove the "Uno App Solution" from the 'generic' C# entry
Create a C#\Uno folder
Put all of the Uno project templates in this folder (Presumably a "Uno App Solution" and then each individual platform starter.
Remove the "CPS Projects" folder and its content
Get the rest of your source into GitHub repositories; I'd love to be able to help on some peripheral projects like this. I've also seen a couple of minor rendering issues in my wasm proof-of-concept application. I'd certainly try to understand them and provide a PR if I could.
Activity
jeromelaban commentedon May 18, 2018
Thanks for you report. It's quite an uncommon issue.
Are you able to create standard C# UWP and Xamarin projects ?
MarkStega commentedon May 18, 2018
I can create both Xamarin & UWP projects with no issue. Here is what the 'New project'window looks like:
jeromelaban commentedon May 18, 2018
See the updated documentation on how to find the
Uno App Solution template. Does it address your issue ?MarkStega commentedon May 18, 2018
It does address the issue, but where my confusion came from is that I typically just pick "Create new solution" and then under C# pick the appropriate category and then the template. There were no new categories under C# so I scanned and saw the new type of project called "CPS Projects" and that contains only the UnoQuickstart.Shared template per the above screen shot. Using the search method I discovered that the template "Uno App Solution" was in the C# entry (I never even knew that the C# entry also listed templates. It is in the middle of some C#/XAML templates). I reverted back to the 1.29 version of the release and indeed the app solution template was there also.
Two suggestions:
jeromelaban commentedon May 19, 2018
Thanks for the suggestions! We're in the process of publishing the sources, this will all be easier when they will be.
As for the WASM part, even if it's a good start, there's definitely a lot of work to do there, this will be an interesting ride.
weitzhandler commentedon Jun 30, 2018
Cannot find the template pack in Visual Studio Marketplace, is it meant to be there?
jeromelaban commentedon Aug 31, 2018
The structured has been adjusted, and the vsix is now in the marketplace, thanks!
# This is a combination of 8 commits.
Merge pull request #6 from unoplatform/master
fix: Unit test building (unoplatform#6)
chore: make SamplesApp.Skia.netcoremobile Debuggable in release builds
chore: MOAR LOGGING
chore: MOAR LOGGING
chore(deps): use SkiaSharp 3.119.2-preview.1
chore(deps): use SkiaSharp 3.119.2-preview.1 on CoreCLR, NativeAOT
chore: extend the lifetime of SKPicture
fix: extend Android Surface lifetime to avoid GC-related crash