Alex Rivera | Logout

'Publish failed' but build succeeded?

Asked 2011-11-14T11:21:09.493
60

When using Visual Studio 2008, when I "Publish Web Site", the application builds correctly, but then I get a "Publish failed" message:

enter image description here

What possible reasons are there for this, and how can I prevent it?

Edit
Report

1 Answer

12

Sometimes it's because you need to be running VS as Administrator to be able to write to the target directory.

Check the Output messages, they should help you solve the problem

answered 2012-05-10T20:04:17.697

Your Answer