You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Open any axaml file to start the Designer
Start a build
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
OS: Windows 11
Avalonia-Version: 11.0.7
Visual Studio 2022 (17.8.4)
The text was updated successfully, but these errors were encountered:
Any updates on this? It's really frustrating to have to make sure to close all axaml files before running/building the project.... could we at least get an option to disable the preview of the designer? I'm assuming that's what causes the build issues...
Latest findings: when ReSharper build is enabled the described problem exists. When deactivating ReSharper build and use the default Microsoft build the problem does not exist. This is when using the latest Avalonia versions.
Latest findings: when ReSharper build is enabled the described problem exists. When deactivating ReSharper build and use the default Microsoft build the problem does not exist. This is when using the latest Avalonia versions.
Thank you for the update, that's really helpful as I do have ReSharper build enabled. I will disable it, I rather not have to close designer windows than have a nice visual of the build. 👍🏼
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:
Expected behavior
The build just goes through....
Environment
The text was updated successfully, but these errors were encountered: