Visual studio HelloWorld控制台应用程序无法使用ClickOnce发布

Visual studio HelloWorld控制台应用程序无法使用ClickOnce发布,visual-studio,clickonce,Visual Studio,Clickonce,提前谢谢。使用VisualStudio/ClickOnce发布时,我总是会出现以下错误 ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of C:\Users\carlos\Documents\visual studio 2012\Projects\ConsoleApplication1\ConsoleApplicat

提前谢谢。使用VisualStudio/ClickOnce发布时,我总是会出现以下错误

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\carlos\Documents\visual studio 2012\Projects\ConsoleApplication1\ConsoleApplication1\publish\ConsoleApplication1.application resulted in exception. Following failure messages were detected:
    + Configuration system failed to initialize
    + Unrecognized configuration section startup. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\dfsvc.exe.Config line 2)
dfsvc.exe.Config是:


是我应该在我的电脑上安装的东西吗?再次感谢。

我找到了一个解决方案, 我不知道到底哪一个是修复,我做了三个步骤:

1-我修复了.net fx安装
2-运行mage-cc以清除clickonce存储
3-重新启动


谢谢

您安装64位框架了吗@PreetSangha是的,我已经安装好了,你能告诉我们配置文件中有什么吗?我修复了它。。。我不知道到底是哪一个修复了,我做了三个步骤:修复.net fx安装,运行mage.exe-cc,然后重新启动并在答案中输出这些。干得好!