Simon Sarris
Simon Sarris

Reputation: 63862

What rules govern the Windows 8 store appId? Are they persistent across versions/renames?

The MSDN page for CurrentApp.appId is here.

In a typical application the property comes back in the format 00000000-0000-0000-0000-000000000000, and precisely that number if you're running an app that is not in the Windows store.

Once in the Windows store, it gets a real number, and my question is: Is there anything that would cause an appId to ever change? Perhaps as versions of the app are updated, or if the app is renamed?

Upvotes: 4

Views: 599

Answers (1)

Shawn Kendrot
Shawn Kendrot

Reputation: 12465

The AppId will not change unless you remove the existing app and republish.

I do not have a source for this, but it is the same process from the Windows Phone Marketplace/Store. The ID is used in many places.

  • The direct link (URL) to your app
  • Used by the Store app to identify which apps have an update
  • Used by Visual Studio when creating/uploading packages
  • ...

Changing the Global Unique Identifier is totally against the point of a GUID. If it changed, many things would break. The ID does not change when updating the app, it remains the same.

Upvotes: 3

Related Questions