Base solution for your next web application
Open Closed

Copying/moving Dist folder contents to wwwroot folder during package publish #5964


User avatar
0
omkarchoudhari created

While releasing or publishing the package , the contents from Dist folder do not get autimatically copied to wwwroot folder. This happens for every template of asp.net zero and we need to manually copy the contents , so that the web application runs properly.

Is there a solution to automate this ? Urgent response would be highly appreciated.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari

    I assume you are using merged ASP.NET Core & Angular solution. If so, we were doing that but the command for copying the folder was specific to Windows and we have removed it.

    If you are working on Windows, you can use robocopy command to copy content of dist folder.