Visual Studio 2019 (enterprise) V 16.8.3 can't publish .NET web forms app


Please describe the issue in 2-3 sentences. Include what you're trying to accomplish when the issue occurs.
When we compile web app and go to publish it to a local folder or simple unc path on our network fails. When compile web app and go to publish to IIS folder it fails

When did it begin and how often does it occur?
This error occurs everytime
What errors do you see?
Visual studio error window states "One or more errors occurred." not very helpful
What's the environment and are there recent changes?
Windows 10 / IIS 8.5 . No recent changes aside from standard maintenance

What have you tried to troubleshoot this?
reinstalled VS 2019 -- did not resolve issue
searched for solution on Dev Community /StackOverflow/other -- it is a common problem but no clear resolution


Microsoft Technologies based on the .NET software framework.
3,456 questions
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,688 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,502 questions
{count} votes

Accepted answer
  1. Dylan Zhu-MSFT 6,406 Reputation points

    Hi @Anonymous ,

    Please have a try the steps below:

    1. Delete the .vs folder in your solution directory
    2. If there is a pubxml file in your project directory, please remove it.
    3. Then restart your visual studio.

    Best Regards,

0 additional answers

Sort by: Most helpful