AvaloniaUI / AvaloniaVS

Visual Studio Extension for Avalonia
MIT License
412 stars 77 forks source link

Open axaml Designer make a project build fail in Visual Studio 2022 #438

Open afluegge opened 6 months ago

afluegge commented 6 months ago

Describe the bug

When the axaml Designer is open at least once and I try to build the project, the build fails.

To Reproduce

Steps to reproduce the behavior:

  1. Open any axaml file to start the Designer
  2. Start a build
  3. After some time the build fails:
Error MSB3027: Could not copy "obj\Debug\net8.0\MyProject.dll" to "bin\Debug\net8.0\MyProject.dll". Exceeded retry count of 10. Failed. The file is locked by: ".NET Host (9652)" (4735, 6)

Expected behavior

The build just goes through....

Environment