TemplateStudio icon indicating copy to clipboard operation
TemplateStudio copied to clipboard

Fails to create project if an editorconfig file already exists in the solution

Open CoolDadTx opened this issue 6 months ago • 0 comments

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

  1. Create or open a solution that already has an .editorconfig file in the root of the solution
  2. Use the template studio template to create a WinUI project
  3. Select any settings you want and then create the project
  4. During creation the wizard fails because of an access denied to the solution's .editorconfig file

Additional context

No response

Applies to the following platforms:

  • [ ] WinUI
  • [ ] WPF
  • [ ] UWP

About your setup

  • Visual Studio Version:
  • Template Studio Wizard Version:
  • Windows Build:

CoolDadTx avatar May 24 '25 16:05 CoolDadTx