Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails while editing with previewer open #115

Open
Kefaku opened this issue Feb 21, 2024 · 0 comments
Open

build fails while editing with previewer open #115

Kefaku opened this issue Feb 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Kefaku
Copy link

Kefaku commented Feb 21, 2024

Describe the bug

For me, trying to build a default/unmodified avalonia.app project in any way will always fail after making some changes to UI and keeping the previewer open.

To Reproduce

  1. Open previewer
  2. Make any changes to any axaml file.
  3. Save + wait for previewer to refresh.
  4. Try to build project. -> Fails

Avalonia for VS Code

v0.0.31

Avalonia version

11.0.2

VS Code version

1.86.2

Relevant log output

The file is locked by ".NET Host (17644)".

C:\Program Files\dotnet\sdk\8.0.200\Microsoft.Common.CurrentVersion.targets(4790,5): error MSB3021:
The file 'obj\Debug\net8.0\loop.dll' cannot be copied to 'bin\Debug\net8.0\loop.dll'.
The process cannot access the file '\bin\Debug\net8.0\loop.dll' because it is being used by another process.

Additional context

No response

@Kefaku Kefaku added the bug Something isn't working label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant