TemplateStudio
TemplateStudio copied to clipboard
Fails to create project if an editorconfig file already exists in the solution
Describe the bug
I have an existing project with a .editorconfig already present. When running the wizard to generate a new WinUI project it fails saying access denied to .editorconfig. Dismissing the error leaves the wizard in a running, but unfinishable state. The only recourse is to cancel the wizard.
The workaround is to delete the file before running the wizard.
To Reproduce
- Create or open a solution that already has an
.editorconfigfile in the root of the solution - Use the template studio template to create a WinUI project
- Select any settings you want and then create the project
- During creation the wizard fails because of an access denied to the solution's
.editorconfigfile
Additional context
No response
Applies to the following platforms:
- [ ] WinUI
- [ ] WPF
- [ ] UWP
About your setup
- Visual Studio Version:
- Template Studio Wizard Version:
- Windows Build: