所有突然的ClickOnce发布都停止在Visual Studio 2008中工作。
我收到此错误....
ERROR DETAILS
Following errors were detected during this operation.
* [1/15/2014 12:14:43 PM] System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.LockApplicationPath(UInt32 Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at System.Deployment.Application.ComponentStore.LockApplicationPath(DefinitionAppId definitionAppId)
at System.Deployment.Application.SubscriptionStore.LockApplicationPath(DefinitionAppId definitionAppId)
at System.Deployment.Application.FileDownloader.PatchFiles(SubscriptionState subState)
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
我尝试将应用程序升级到VS2012并在那里进行部署但遇到同样的错误。
注意自上次工作以来的系统更改。
- Installed VS2012 Pro
- Installed VS2013 RC
- Upgraded IE 9 to IE10 and IE11, had no choice.
IE 11表示它无法访问网站的setup.exe文件来执行OneClick安装。
- Installed VS2013Express without removing VS2013RC
- Misc. other MS updates.
- Removed VS2010Express
已检查的IIS(ver6)仍设置为提供可执行文件。