Build succeeds, but publish fails

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

    The cause of it is the transfer your project from different environment. To solve it, delete "obj" folder from your project directory as well as from solution explorer by right click on "obj" folder.

    After that build your project and publish it. It will work normally.

提交回复
热议问题