CLR-x86-1.0.0-beta7-15532
VS community v14.0.23107.0
Attempting to publish my Web API application to a local folder but right after the "Copying to output path C:\temp\PublishTemp", I get the following message:
Publish failed due to build errors. Check the error list for more details.
However, there are no build errors or warnings.
If I make a new web application it publishes to my test folder without issue.
Where should I start troubleshooting this?
In Visual Studio go to Tools > Options and increase the MSBuild output verbosity. This will flood the Output window log with all the information you need:
I was experiencing the same problem and the accepted solution did not help, because the problem was with publishing, and not building (despite what the error says). I tried the accepted solution but it didn't help because there were no errors when building.
The solution for me was one of 2 options:
I had a command prompt window open on the server, in a folder in the project directory which was preventing the folder from being deleted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With