ClickOnce - Cannot publish because a project failed to build

后端 未结 11 1434
你的背包
你的背包 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 07:47

    I solved my problem. The problem was the "Modified" time of some files. I used the program Timestamp to fix it.

    As I said in my question, the problem was that I build the solution and the date was in the future. Because of that, every time I pressed F5 Visual Studio was building the whole solution again and Publish ClickOnce wasn't working.

提交回复
热议问题