Closed MarkBrainfire closed 1 year ago
Please let us also know the template version you tried and try to get the infos hidden under Detials.
Could also be a vs issue btw.
Avalonia for Visual Studio ver: 11.1
Avalonia Template Studio ver: 1.3
Here are the error details:
System.MissingMethodException: Method not found: 'System.Collections.Generic.IReadOnlyList1<Microsoft.TemplateEngine.Abstractions.ITemplate> Microsoft.TemplateEngine.Edge.Settings.ScanResult.get_Templates()'. at Microsoft.Templates.Core.TemplatesRepository.GetAll() at Microsoft.Templates.Core.TemplatesRepository.GetSupportedProjectTypes(UserSelectionContext context) at Microsoft.Templates.Core.TemplatesRepository.GetProjectTypes(UserSelectionContext context) at Microsoft.Templates.UI.Services.DataService.LoadProjectTypes(ObservableCollection
1 projectTypes, UserSelectionContext context)
at Microsoft.Templates.UI.ViewModels.NewProject.ProjectTypeViewModel.
Transferred to the correct repository. But still, it doesn't seem to be an error in our template, but rather in Visual Studio templating engine. Could you please report it to the Visual Studio bug tracker and link issue here?
It may indeed be a VS problem. Yes, I'll report it to them.
Done!
please file the link here. Thx.
The error produced also when the extension is installed but not the templates. To install the Avalonia templates, in command line, run the following command: dotnet new install Avalonia.Templates
Blocked by dependency,currently,my only advice is to downgrade to 17.7 ;(
duplicate of #20
Describe the bug In Visual Studio Version 17.8 Preview 1.0 a template error msg is displayed when attempting to create a C# Avalonia application.
To Reproduce Use Visual Studio Verion 17.8 Preview 1.0 to attempt to create a new solution. When you press "Create" the error will be displayed.
Work Around Use the current stable version of Visual Studio.
Screenshots