If the project is configured to show in the local IIS, stopping IIS, when building, resolves this issue.
RazorClassLibrary Build Problem : Could not copy my project dll to main project output! The file is locked by "IIS EXpress ...""
Hi everybody!
I have a main Blazor web project which load all "RazorClassLibrary" project outputs as components dynamically.
It works perfect. But when i open both my mainProject & my rcl project to make some modification(s), when i want to build my rcl project, i'm facing this error druring compile :
Error MSB3027 Could not copy "obj\Debug\net6.0\TestModule01.dll" to "D:\BlazorServerApp3.Web\bin\Debug\net6.0\TestModule01.dll". Exceeded retry count of 10. Failed. The file is locked by: "IIS Express Worker Process (19352)"
How to solve this issue or do you have an idea to avoid this problem?
Thanks in advance..