Hi,
We have developed a VSTO 2005 Excel application and we would like to
leverage ClickOnce deployment mechanism for distribution of this
application.
How can we do that? I was digging in MSDN for VSTO & ClickOnce documentation
and did not find anything. I've noticed that there is an option to
publish the project, but when I do that and then run the application from
Web it throws us security errors like:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployme nt.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : http://localhost/miniexcel/MiniExcel.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later
in the log.
* Activation of http://localhost/miniexcel/MiniExcel.application resulted
in exception. Following failure messages were detected:
+ Exception reading manifest from
http://localhost/miniexcel/MiniExcel.application: the manifest may not be
valid or the file could not be opened.
+ Deployment manifest is not semantically valid.
+ Application reference identity must be strongly named.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [25/02/2007 12:46:13] : Activation of
http://localhost/miniexcel/MiniExcel.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [25/02/2007 12:46:13]
System.Deployme nt.Application. InvalidDeployme ntException (ManifestParse)
- Exception reading manifest from
http://localhost/miniexcel/MiniExcel.application: the manifest may not be
valid or the file could not be opened.
- Source: System.Deployme nt
- Stack trace:
at System.Deployme nt.Application. ManifestReader. FromDocument(St ring
localPath, ManifestType manifestType, Uri sourceUri)
at
System.Deployme nt.Application. DownloadManager .DownloadDeploy mentManifestDir ectBypass(Subsc riptionStore
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionSta te& subState,
IDownloadNotifi cation notification, DownloadOptions options,
ServerInformati on& serverInformati on)
at
System.Deployme nt.Application. DownloadManager .DownloadDeploy mentManifestByp ass(Subscriptio nStore
subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionSta te& subState,
IDownloadNotifi cation notification, DownloadOptions options)
at
System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion(Uri
activationUri, Boolean isShortcut)
at
System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker (Object
state)
--- Inner Exception ---
System.Deployme nt.Application. InvalidDeployme ntException
(ManifestSemant icValidation)
- Deployment manifest is not semantically valid.
- Source: System.Deployme nt
- Stack trace:
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateSemanticsFo rDeploymentRole ()
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateSemantics(M anifestType
manifestType)
at System.Deployme nt.Application. ManifestReader. FromDocument(St ring
localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Deployme nt.Application. InvalidDeployme ntException
(ManifestCompon entSemanticVali dation)
- Application reference identity must be strongly named.
- Source: System.Deployme nt
- Stack trace:
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateApplication Dependency(Depe ndentAssembly
da)
at
System.Deployme nt.Application. Manifest.Assemb lyManifest.Vali dateSemanticsFo rDeploymentRole ()
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Is there another method we can use for automatic distribution of our
application if ClickOnes doesn't support VSTO?
Thank you very much for your help and support,
Best Regards,
Michael