2010-02-11 9 views
5

J'ai deux projets: Inventario, Produccion Dampers et j'ai ajouté Inventario comme référence à Produccion Dampers. Quand je publie Produccion Dampers je ne reçois pas une erreur, mais lorsque je tente d'installer je reçois cette erreur:Erreur InvalidDeploymentException lors du déploiement de l'application .NET

Following errors were detected during this operation. 
    * [2/11/2010 3:33:34 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation) 
     - Reference in the manifest does not match the identity of the downloaded assembly Inventario.exe. 
     - Source: System.Deployment 
     - Stack trace: 
      at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e) 
      at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e) 
      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.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) 

Toutes les idées sur la façon de résoudre ce problème?

Répondre

1

Le projet étant inclus en tant que référence (Inventario) n'a pas été signé du tout, en le signant avec le même certificat. comme l'autre projet (Produccion Dampers) a résolu le problème ....