ClickOnce - Cannot publish because a project failed to build

后端 未结 11 1450
你的背包
你的背包 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:54

    I just ran into the problem today. In my particular case, it was caused by Microsoft Windows Update, Microsoft Security Advisory 2661254 (concerning minimum certificate key length).

    I uninstalled that update and publish began working as it always had. This is only a temporary work around and means you should probably regenerate your keys/certificates.

提交回复
热议问题