Enable to access dll because it is being used by another process. #11872
Labels
area-blazor
Blazor Hybrid / Desktop, BlazorWebView
area-testing
Unit tests, device tests
feature-blazor-maui
Issues in Blazor in .NET MAUI
s/triaged
Issue has been reviewed
t/bug
Something isn't working
testing-flakiness
Description
The MAUI repository on net6 used parallel builds to build faster. When moving to .net7.0 we found a couple of issues and had to disable the build in parallel solution wide while we worked on these problems.
One of the last remaining problems only happens when build MauiRazorClassLibrarySample in Release mode and seems to be only on macOS. It complains it can't copy the MauiRazorClassLibrarySample.dll to the bin folder.
Steps to Reproduce
1 - Clone MAUI
2- Checkout the main
3 - Remove the line on MauiRazorClassLibrarySample.csproj
<BuildInParallel Condition="'$(Configuration)' == 'Release'">false</BuildInParallel>
4 - Build on release mode on macOS
Link to public reproduction project repository
https://github.com/dotnet/maui/
Version with bug
7.0 (current)
Last version that worked well
6.0.424
Affected platforms
I was not able test on other platforms
Affected platform versions
Did you find any workaround?
Set BuildInParallel to false on MauiRazorClassLibrarySample
Relevant log output
The text was updated successfully, but these errors were encountered: