AvaloniaUI / avalonia-dotnet-templates

Avalonia Templates for `dotnet new`
MIT License
516 stars 89 forks source link

Outdated templates for visual studio #274

Closed DrDryg closed 1 week ago

DrDryg commented 3 weeks ago

Is your feature request related to a problem? Please describe.

I want to create an avalonia application targeting web. I have the development tools installed in visual studio. But when creating projects I get an old avalonia version installed and 11.0.2 (I think) with .net 7 which is out of support. If upgrading to .net8 and upgrading avalonia I get issues that the namespaces in the web-app has changed.

Seems to only be an issue with the cross platform solution. If I add a web application directly it works fine.

Describe the solution you'd like

New updated templates.

Describe alternatives you've considered

No response

Additional context

No response

timunie commented 3 weeks ago

These templates do not update automatically and wr can't change that. So please update / reinstall them from time to time. Thx.

DrDryg commented 3 weeks ago

I did uninstall and reinstall and they were still outdated - some of them. I realized now that the wizard based template is working fine, but the other seem to be outdated. The wizard one is the best so I can live with that.

maxkatz6 commented 3 weeks ago

Latest Avalonia templates and latest VS plugin target .NET 8 and 11.1.0. We typically update them once a minor update.

Since 11.2 was released last week, we need to ship new templates too. But probably has to wait until 11.2.1.

maxkatz6 commented 1 week ago

Avalonia console and VS templates were updated