ClickOnce - Cannot publish because a project failed to build

后端 未结 11 1435
你的背包
你的背包 2020-12-14 07:10

When I try to publish my (WPF, C#) application, I get these errors:
Cannot publish because a project failed to build.
Could not find file \'obj\\x86\\Debug

11条回答
  •  既然无缘
    2020-12-14 08:07

    I have sometimes had problems with an ASP.NET project publishing, because the publish wizard couldn't delete files in the directory it was trying to publish the files to.

    Try clearing out those file manually before publishing. Also check the output window; it will sometimes give you some hints as to why the publish failed.

提交回复
热议问题