我在 Visual Studio 2008 中开发了我的应用程序,并将其部署在许多带有 Windows paltform 的计算机上。它工作正常,但有一本 mac book 上面有虚拟 Windows 7。我的 clickonce 应用程序在安装时第一次在这台机器上运行良好。但是当用户再次启动它时关闭它后,它会给出以下错误。我已经用谷歌搜索了它,但找不到正确的答案。任何人都可以帮忙吗?
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.296
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.296 (RTMGDR.030319-2900)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \\.psf\Home\Desktop\MyApplication.appref-ms| resulted in exception. Following failure messages were detected:
+ Invalid URI: The hostname could not be parsed.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
No phase information is available.
ERROR DETAILS
Following errors were detected during this operation.
* [01/03/2013 10:58:47] System.UriFormatException
- Invalid URI: The hostname could not be parsed.
- Source: System
- Stack trace:
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.