私は何かをテストしているので、非常に単純な WPF アプリを作成して、ネットワーク接続ストレージ (NAS) ハード ドライブから ClickOnce 展開を機能させることができるかどうかを確認しました。(これは Seagate GoFlex HD です。) 私はそこで公開しました (署名していなかったので、最初は問題がありました。私はそれを忘れがちです。この場合、このアプリケーションとして署名したくありません。 VS 2010 で署名をクリアすると、NAS に問題なく公開できました。次に、別のマシンに移動して、そこにインストールしようとしました。惨敗。生成されたエラーは次のとおりです。
ERROR DETAILS
Following errors were detected during this operation.
* [11/21/2011 6:11:52 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file://goflex_home/Click Once/TestBackground1/TestBackground1.application did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
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)
--- Inner Exception ---
System.Net.WebException
- The network name cannot be found.
では、「ネットワーク名が見つかりません」とはどういう意味ですか? ホーム ネットワーク上のすべてのマシンで既知のネットワークを指定しました。