vc 74
vc 74

Reputation: 38179

ClickOnce application identity and WinForms-WPF migration

I'd like to migrate one of the applications I maintain from Windows Forms to WPF.

The application already has WPF controls hosted in ElementHost, and I'd like to switch to a WPF application in which I may have WindowsFormsHost controls (ultimately it should become a 100% WPF application).

The application is published using ClickOnce. If I change the project type to WPF, and republish to the same target, is it going to break the application's identity and prevent users from receiving the upgrade?

Upvotes: 2

Views: 463

Answers (1)

N_A
N_A

Reputation: 19897

From here:

What is a ClickOnce Identity? The identity of a ClickOnce application is expressed by all of the properties (minus version) of the applicationIdentity element in the deployment manifest:

  • Application name (specified as "Product Name" in Visual Studio)
  • Public key token
  • Language
  • Processor architecture

Why Should I Care? If two ClickOnce deployments have an applicationIdentity element with all four of these attributes in common, then they are deploying the same application regardless of the location of the deployments.

I think this fairly clearly states "No".

Link to another SO question discussing this issue.

Upvotes: 1

Related Questions