Build succeeds, but publish fails

前端 未结 21 1575
陌清茗
陌清茗 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:11

    I recently faced the same issue. And I actually traced it by searching the file which was missing.

    Reason for the error : In visual studio I had included the file and later on deleted it from file system.(but not from visual studio). VS had still had the reference to that file. So once I deleted the reference from VS I was able to publish successfully !

提交回复
热议问题