Visual Studio Developer Center >
Visual Studio Forums
>
Visual Studio Tools for Office
>
Use Publish Wizard to publish a addin for Microsoft Project 2003
Use Publish Wizard to publish a addin for Microsoft Project 2003
- Hi,
I am developing a addin for Project 2003 with vsto 2005 SE. I can use the setup project to build an installer for the addin.
Then I use the publish wizard to publish the addin. Then I tried to click the deployment file of the addin "PPM_MSP_Plugin2003.application", an error happens. I have created the same registry entries as the installer manually and granted full trust to the publish folder. Do I miss anything else?
ERROR DETAILS
Following errors were detected during this operation.
* [2009-10-31 18:57:21] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/Temp/plublish20032/PPM_MSP_Plugin2003.application: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestSemanticValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemantics(ManifestType manifestType)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestComponentSemanticValidation)
- Application reference identity must be strongly named.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateApplicationDependency(DependentAssembly da)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()
Answers
I am developing a addin for Project 2003 with vsto 2005 SE. I can use the setup project to build an installer for the addin.
Hello,
Then I use the publish wizard to publish the addin. Then I tried to click the deployment file of the addin "PPM_MSP_Plugin2003.application", an error happens. I have created the same registry entries as the installer manually and granted full trust to the publish folder. Do I miss anything else?
For this error, it has been discussed in this forum before many times. Do you have check these thread: Outlook Addin Deployment VSTO, Publishing Error, and publishing outlook add-in. Please let me know if these links do not help you.
There are two ways for us to deploy office solution: Windows Installer and Publish Wizard.
For deploying office solution using windows installer, please refer to these resources introducing the deployment steps: Part 1 and Part 2. You could download the project samples from a link which you will find in the first link above.
For deploying office solution using publish wizard, here are two MSDN articles you could refer to: Deploying Application-Level Add-Ins and How to: Deploy Solution Files Using the Publish Wizard.
Best regards,
Bessie
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byBessie ZhaoMSFT, ModeratorFriday, November 06, 2009 10:32 AM
All Replies
I am developing a addin for Project 2003 with vsto 2005 SE. I can use the setup project to build an installer for the addin.
Hello,
Then I use the publish wizard to publish the addin. Then I tried to click the deployment file of the addin "PPM_MSP_Plugin2003.application", an error happens. I have created the same registry entries as the installer manually and granted full trust to the publish folder. Do I miss anything else?
For this error, it has been discussed in this forum before many times. Do you have check these thread: Outlook Addin Deployment VSTO, Publishing Error, and publishing outlook add-in. Please let me know if these links do not help you.
There are two ways for us to deploy office solution: Windows Installer and Publish Wizard.
For deploying office solution using windows installer, please refer to these resources introducing the deployment steps: Part 1 and Part 2. You could download the project samples from a link which you will find in the first link above.
For deploying office solution using publish wizard, here are two MSDN articles you could refer to: Deploying Application-Level Add-Ins and How to: Deploy Solution Files Using the Publish Wizard.
Best regards,
Bessie
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- Marked As Answer byBessie ZhaoMSFT, ModeratorFriday, November 06, 2009 10:32 AM


