2

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?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
vc 74
  • 37,131
  • 7
  • 73
  • 89

1 Answers1

1

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.

Community
  • 1
  • 1
N_A
  • 19,799
  • 4
  • 52
  • 98
  • Thanks for the reply; in my case none of these changes so why should the identity change? – vc 74 Jan 13 '12 at 21:09
  • Ah, sorry. Answered: "Will it be the same application?" instead of "Will it break" for some reason. You should be good to go. – N_A Jan 13 '12 at 21:10
  • oops sorry about that, (it was my first bounty...). Thanks. – vc 74 Jan 19 '12 at 15:24