Build succeeds, but publish fails

前端 未结 21 1533
陌清茗
陌清茗 2020-12-09 14:29

Up until two days ago, I was able to use Visual Studio 2010\'s \"Publish Web\" option by right clicking on my project and clicking the publish button on the context menu. No

相关标签:
21条回答
  • 2020-12-09 15:29

    Just rename Packages folder of Nugets. Visual Studio would automatically get required packages and build would get successful and Publish would work too.

    0 讨论(0)
  • 2020-12-09 15:29

    i have also faced this issue while i was publishing my site, in my case reference was added but in bin folder it was not there so please install again which reference is missing on output.i hope it helps

    0 讨论(0)
  • 2020-12-09 15:31

    This worked for me: Manually delete the obj folder, rebuild, then publish. Somehow some permission in the obj folder got stuck, and deleting/recreating the folder cleared the error.

    0 讨论(0)
提交回复
热议问题