Cannot publish because a project failed to build

When I was publishing a RSS Reader, an error 'Cannot publish because a project failed to build' occured. I can't find the error help in the local help. How can I solve this problem

Answer this question

Cannot publish because a project failed to build

  • tom_gee

    Which project failed to build What errors did it give Are you saying it builds when you're not publishing



  • Pilot_cir

    According to MSDN:

    http://msdn2.microsoft.com/en-US/library/ms228634.aspx

    That error means there are other build errors you need to fix. If that's not the case, I'm at a loss.



  • Des Jacobsen

    I have the same problem. The project can successfully build with no errors, and no warnings, but attempts to publish fail. My suspicion is some security or signing issue, but I haven't isolated the problem yet.
  • Nick Perez

    This problem appears to have been address in the following article:
    http://support.microsoft.com/kb/919472

  • vpsivam

    Again, you don't get any other error, anywhere You just get that the build fails The output window does not report any other errors, neither does the bug window



  • RyanD

    I only get this error. I just get the build fails. The output window does not report any other errors.
  • Ma?o

    So the build succeeds, you can run the program, but when you try to publish, you get that error, and only that error What about in the output There must be a reason given for the build failing.



  • BrainWasher

    Yes. I can run the program correctly. It can refresh, add folder... Everything is correct.
  • Perky

    My RSSReader project is failed to build. The whole error message is "Error 1 Cannot publish because a project failed to build. 1 1 RSSReader". I build the program successfully but I failed to publish it.

  • Cannot publish because a project failed to build