使用快捷方式运行控制台应用程序

时间:2013-08-02 14:14:16

标签: visual-studio visual-studio-2012 console-application

我在VS2012中创建了一个控制台应用程序,它本身编译得很好。我在本地网络上发布它,并在网络上的另一台计算机上创建了一个快捷方式。当我通过双击快捷方式运行应用程序或通过命令行执行时,我收到错误:

  

“无法继续。应用程序格式不正确。”

详细信息提供以下信息:

ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of Y:\Errol\CommodityVolJob\ConsoleApplication2.application resulted in exception. Following failure messages were detected:
        + Exception reading manifest from file:///Y:/Errol/CommodityVolJob/ConsoleApplication2.application: the manifest may not be valid or the file could not be opened.
        + Manifest XML signature is not valid.
        + SignatureDescription could not be created for the signature algorithm supplied.

0 个答案:

没有答案