Open Closed

Could not copy exceeded retry count of 10 #8458


User avatar
0
jermaine.gray@gmail.com created
  • ABP Framework version: v9.0.1
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I am trying to publish my web app using the publish tool in Visual Studio and am getting this error. This error message is only on the Blazer apps. All other apps publish without error. I restart my PC, set Visual studio in Admin mode clean build and still no success

Could not copy "C:\Users~.nuget\packages\volo.abp.aspnetcore.components.web.leptonxtheme\4.0.1\staticwebassets\assets\fonts\poppins-v6-latin-600italic.woff" to "C:\Users~\source\repos~\src\CodeFusionLabs.LogicLinkGlobal.Blazor.Client\obj\Release\net9.0\browser-wasm\PubTmp\Out\wwwroot_content\Volo.Abp.AspNetCore.Components.Web.LeptonXTheme\assets\fonts\poppins-v6-latin-600italic.woff". Exceeded retry count of 10. Failed.


10 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team Co-Founder

    Hi, Probably your application was running while you're trying to build the application. Can you check that please. Restarting your computer may also help in case of some application locked your project files.

  • User Avatar
    0
    jermaine.gray@gmail.com created

    no abp studio or any part of my app was not running

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try publishing your Blazer app using the dotnet publish command? Please share the output of this command.

    Thanks.

    Usage:
      dotnet publish [<PROJECT | SOLUTION>...] [options]
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    If the dotnet publish does not work for you, you can share the source code of your Blazer app project.

    I will download and check the code.

    liming.ma@volosoft.com

  • User Avatar
    0
    jermaine.gray@gmail.com created

    It looks like it works, but I am going to upload it to the server first. Is there a bug in Visual Studio why the publish button does not work?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Some versions of Visual Studio may have problem. The same thing can be done using dotnet cli.

  • User Avatar
    0
    jermaine.gray@gmail.com created

    am coming back to this point. I dont think it is the IDE not copying files. when i used .net publish cli the app publish but it seam it missing some critical file

    Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.AspNetCore.Components.Server.AbpAspNetCoreComponentsServerModule, Volo.Abp.AspNetCore.Components.Server, Version=9.0.1.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.

    This indication that there is problem getting the statice file ---> System.IO.DirectoryNotFoundException: C:\Users\xx.nuget\packages\volo.abp.aspnetcore.components.web\9.0.1\staticwebassets\

    I also notice some dependence issues within the blazer app

    Am trying to publish my app on MS Azure

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share your test project? also the full logs of Volo.Abp.AbpInitializationException exception.

    liming.ma@volosoft.com

    Thanks

  • User Avatar
    0
    jermaine.gray@gmail.com created

    I already switch from blazer to MVC and delete the blazer project. am not having this problem with MVC. so you guys need to create blazer project and you will see the problem.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok, We will test this case.

    Thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09