Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > minimumRequiredVersion
 

minimumRequiredVersion

I get this message when i try to run my application.

Any iders how to fix?

Regards

/cj

*************************************************************************************

PLATFORM VERSION INFO
Windows : 5.2.3790.65536 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.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: file:///C:/tmpCJ/publish/WMdata.Integration.Logging.WMdataWinClient.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\tmpCJ\publish\WMdata.Integration.Logging.WMdataWinClient.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///C:/tmpCJ/publish/WMdata.Integration.Logging.WMdataWinClient.application: the manifest may not be valid or the file could not be opened.
+ Deployment manifest is not semantically valid.
+ Deployment manifest cannot specify minimumRequiredVersion for online applications.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [2007-04-19 14:24:12] : Activation of C:\tmpCJ\publish\WMdata.Integration.Logging.WMdataWinClient.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [2007-04-19 14:24:13] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/tmpCJ/publish/WMdata.Integration.Logging.WMdataWinClient.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)
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 (InvalidManifest)
- Deployment manifest cannot specify minimumRequiredVersion for online applications.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSemanticsForDeploymentRole()

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

cjwik  Thursday, April 19, 2007 12:26 PM

hmm found it myself.

Click offline application.

Click updates.

Click minimum.

Click OK

Change back to online application.

(The Update button should be disable now.)

Now it is a Online application, but is still take in to account the setting for a Offline application.

Nice feature, or maybe not Microsoft.....

/cj

cjwik  Thursday, April 19, 2007 12:47 PM

hmm found it myself.

Click offline application.

Click updates.

Click minimum.

Click OK

Change back to online application.

(The Update button should be disable now.)

Now it is a Online application, but is still take in to account the setting for a Offline application.

Nice feature, or maybe not Microsoft.....

/cj

cjwik  Thursday, April 19, 2007 12:47 PM
Arrrgghhh!!!

I wasted way too much time trying to fix this.

Thanks cjwik!!

Tabasco Red  Tuesday, August 25, 2009 8:33 PM
If you have an application deployed as online only, or online/offline, and change it to the other, your users have to uninstall and reinstall the application, as this is part of the identity.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 3:15 AM

You can use google to search for other answers

Custom Search

More Threads

• Sign manifests using dns instead of ip
• ClickOnce deployment fails when both SSL is enabled and "require client
• Sql express prerequisistes - Microsoft direct link
• How to debug installer class? + more...
• Can a control access the DOM?
• Zero touch deployment bug
• How can I check if there computer is connection to Internet?
• ClickOnce Deployment to a non-Port 80 Website
• How do I reference an installed application?
• Isolated COM does not appear to work when referencing object from external library