ikkentim Ответов: 1

Ошибка Развертывания ClickOne


Используя VS2010 C# express, я сделал приложение.
В проект я добавил пару текстовых файлов.
Я опубликовал проект в интернете, но когда я пытаюсь установить его, я получаю эту ошибку:

Application validation did not succeed. Unable to continue

OK    Details...

(Details...)


PLATFORM VERSION INFO
	Windows 			: 6.1.7601.65536 (Win32NT)
	Common Language Runtime 	: 4.0.30319.239
	System.Deployment.dll 		: 4.0.30319.1 (RTMRel.030319-0100)
	clr.dll 			: 4.0.30319.239 (RTMGDR.030319-2300)
	dfdll.dll 			: 4.0.30319.1 (RTMRel.030319-0100)
	dfshim.dll 			: 4.0.31106.0 (Main.031106-0000)

SOURCES
	Deployment url			: http://somewebsite.com/software/BarScanner.application
						Server		: Apache/2
	Deployment Provider url		: http://somewebsite.com/software/BarScanner.application
	Application url			: http://somewebsite.com/software/Application%20Files/BarScanner_1_2_1_40/BarScanner.exe.manifest
						Server		: Apache/2

IDENTITIES
	Deployment Identity		: BarScanner.application, Version=1.2.1.40, Culture=nl-NL, PublicKeyToken=cd1b788461f30835, processorArchitecture=x86
	Application Identity		: BarScanner.exe, Version=1.2.1.40, Culture=nl-NL, PublicKeyToken=cd1b788461f30835, processorArchitecture=x86, type=win32

APPLICATION SUMMARY
	* Installable application.

ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of http://somewebsite.com/software/BarScanner.application resulted in exception. Following failure messages were detected:
		+ File, changelog.txt, has a different computed hash than specified in manifest.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	There were no warnings during this operation.

OPERATION PROGRESS STATUS
	* [7-1-2012 13:17:47] : Activation of http://somewebsite.com/software/BarScanner.application has started.
	* [7-1-2012 13:17:47] : Processing of deployment manifest has successfully completed.
	* [7-1-2012 13:17:47] : Installation of the application has started.
	* [7-1-2012 13:17:47] : Processing of application manifest has successfully completed.
	* [7-1-2012 13:17:48] : Found compatible runtime version 4.0.30319.
	* [7-1-2012 13:17:48] : Request of trust and detection of platform is complete.

ERROR DETAILS
	Following errors were detected during this operation.
	* [7-1-2012 13:17:49] System.Deployment.Application.InvalidDeploymentException (HashValidation)
		- File, changelog.txt, has a different computed hash than specified in manifest.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
			at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
			at System.Deployment.Application.ComponentVerifier.FileComponent.Verify()
			at System.Deployment.Application.ComponentVerifier.VerifyComponents()
			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)

COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.


Я искал в интернете, где я видел людей, говорящих, что они должны использовать mage.exe чтобы исправить файл манифеста и сгенерировать новый хэш для текстового файла. Я не мог найти его. mage.exe в любом каталоге, предложенном в интернете. Я скачал SDK .NET 2.0 (хотя я использую .NET 4.0). Я попытался использовать мага и mageUI в что SDK, но без успеха.

Кто-нибудь знает, как я могу это исправить?