Closed JDr111 closed 4 months ago
Note that the template you're using is coming from the VS extension package. Please install the avalonia-dotnet-templates instead, which should work fine.
The templates provided by the extension have been removed in #453. Future versions of the extension will install the avalonia-dotnet-templates automatically.
Describe the bug
Adding a new Avalonia item via Visual Studio's "New Item" dialog always produces a new XAML file with content of a previously deleted item, when the name of the newly added item is the same as the name of the previously deleted item.
To Reproduce
Expected behavior
Each time a new item is added from the item templates, its content should match the one defined in the item template.
Avalonia version
11.0.9, 11.0.10
OS
Windows
Additional context
IDE: Visual Studio 2022 Community Edition Current workaround: Restart Visual Studio