Open Closed

Issue with add package module using Abp suite #7388


User avatar
0
abhi.rigel created

Facing the below error on console ABP suite add existing modules add File Management & Forms module, it throwing a below exception.

Provide us with the following info:

  • ABP Framework version: v8.1.3
  • ABP CLI version: v8.0.3
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server)
    • **Tiered (for MVC) **: Yes
  • Exception message and full stack trace:
  • c\myapp.Blazor\myapp.Blazor.csproj] C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(4967,5): error MSB3021: Unable to copy file "C:\myapp\aspnet-core\src\myapp.Application.Contracts\bin\Debug\net8.0\myapp.Application.Contracts.dll" to "bin\Debug\net8.0\myapp.Application.Contracts.dll". The process cannot access the file 'C:\myapp\aspnet-core\src\myapp.Blazor\bin\Debug\net8.0\myapp.Application.Contracts.dll' because it is being used by another process. [C:\myapp\aspnet-core\src\myapp.Blazor\myapp.Blazor.csproj] C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(4967,5): error MSB3027: Could not copy "C:\myapp\aspnet-core\src\myapp.HttpApi.Client\bin\Debug\net8.0\myapp.HttpApi.Client.dll" to "bin\Debug\net8.0\myapp.HttpApi.Client.dll". Exceeded retry count of 10. Failed. The file is locked by: "Volo.Abp.Suite (17484)" [C:\myapp\aspnet-core\src\myapp.Blazor\myapp.Blazor.csproj] C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(4967,5): error MSB3021: Unable to copy file "C:\myapp\aspnet-core\src\myapp.HttpApi.Client\bin\Debug\net8.0\myapp.HttpApi.Client.dll" to "bin\Debug\net8.0\myapp.HttpApi.Client.dll". The process cannot access the file 'C:\myapp\aspnet-core\src\myapp.Blazor\bin\Debug\net8.0\myapp.HttpApi.Client.dll' because it is being used by another process. [C:\myapp\aspnet-core\src\myapp.Blazor\myapp.Blazor.csproj] C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(4967,5): error MSB3027: Could not copy "C:\myapp\aspnet-core\src\myapp.Domain.Shared\bin\Debug\net8.0\myapp.Domain.Shared.dll" to "bin\Debug\net8.0\myapp.Domain.Shared.dll". Exceeded retry count of 10. Failed. The file is locked by: "Volo.Abp.Suite (17484)" [C:\myapp\aspnet-core\src\myapp.Blazor\myapp.Blazor.csproj]C:\Program Files\dotnet\sdk\8.0.204\Microsoft.Common.CurrentVersion.targets(4967,5): error MSB3021: Unable to copy file "C:\myapp\aspnet-core\src\myapp.Domain.Shared\bin\Debug\net8.0\myapp.Domain.Shared.dll" to "bin\Debug\net8.0\myapp.Domain.Shared.dll". The process cannot access the file 'C:\myapp\aspnet-core\src\myapp.Blazor\bin\Debug\net8.0\myapp.Domain.Shared.dll' because it is being used by another process. [C:\myapp\aspnet-core\src\myapp.Blazor\myapp.Blazor.csproj] 30 Warning(s) 6 Error(s)
  • Steps to reproduce the issue:

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    The process cannot access the file 'C:\myapp\aspnet-core\src\myapp.Blazor\bin\Debug\net8.0\myapp.Application.Contracts.dll' because it is being used by another process. [C:\myapp\aspnet-core\src\myapp.Blazor\myapp.Blazor.csproj]

    I guess the application myapp.Blazor is running, please stop it first and try again.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11