Skip to content
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

QuickStart -- VSIX installer does not create the expected environment #6

Closed
MarkStega opened this issue May 16, 2018 · 7 comments
Closed

Comments

@MarkStega
Copy link

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.

VS2017 15.7
Windows 10 1803 (17134.48)

@jeromelaban
Copy link
Member

jeromelaban commented 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
Copy link
Author

I can create both Xamarin & UWP projects with no issue. Here is what the 'New project'window looks like:

devenv_2018-05-18_07-05-55

@jeromelaban
Copy link
Member

See the updated documentation on how to find the Uno App Solution template. Does it address your issue ?

@MarkStega
Copy link
Author

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:

  1. 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
  1. 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.

devenv_2018-05-18_15-56-50

@jeromelaban
Copy link
Member

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
Copy link
Member

Cannot find the template pack in Visual Studio Marketplace, is it meant to be there?

@jeromelaban
Copy link
Member

The structured has been adjusted, and the vsix is now in the marketplace, thanks!

NicolasChampagne added a commit that referenced this issue Jul 23, 2019
# This is the 1st commit message:

Fix to projitems files

# This is the commit message #2:

added suggestions from code review

# This is the commit message #3:

Added a class for DependencyProperty.UnsetValue

fix wip

# This is the commit message #4:

Fix to remove the "collection changed" exception

# This is the commit message #5:

DataContext were considered valid when set to "UnsetValue"
Was causing a problem on Android when coming back from background, the DataContext is briefly set to UnsetValue, causing DependencyProperties to change to their default value.

# This is the commit message #6:

Fixed exception when using ExponentialEase on Android

# This is the commit message #7:

Removed useless setting of DataContext in a "reload" scenario.
This was mostly happening on Android when the application is coming back from background.

# This is the commit message #8:

Reverted IShadowChildrenProvider to use the List<T> type
mergify bot pushed a commit that referenced this issue Mar 4, 2020
lukeblevins pushed a commit to lukeblevins/uno that referenced this issue Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants