Problem generating application deploy

Edwilson Curti 1 Reputation point
2022-04-14T11:43:34.17+00:00

Good afternoon,

I have a project in .Net 4.5.
193124-image.png

At the end of the application, I went to generate the deploy to publish and the following error was generated:

Error: Copying file PostBuild\i18n.Domain.pdb to obj\Release\Package\PackageTmp\PostBuild\i18n.Domain.pdb failed. Could not find file 'PostBuild\i18n.Domain.pdb'

193079-image.png

I have a deadline for this publication and I've been stuck on it since yesterday.
Does anyone know how I can resolve this type of error?

Thanks in advance for the help of colleagues.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Takahito Iwasa 4,851 Reputation points MVP Volunteer Moderator
    2022-04-14T22:05:44.897+00:00

    Hi, @Edwilson Curti

    You seem to contain debug symbols.
    In my opinion, please refer to the following page to optimize for release mode and deploy.

    https://www.technologycrowds.com/2016/05/publish-app-copying-file-failed-in-publish-using-Visual-Studio.html

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.