Metro Nuggets

Bitesized tidbits for building Modern (Metro) apps.

Got Unexpected, Extra Languages in Your UWP Store Submission?

If you’ve tried submitting a Windows 10 app to the store recently, you may have come across a problem where it’s asking you to enter store information for a language your app isn’t configured to support (in my case, I had an app that was en-GB, but it was requesting details for en-US, too). This can be frustrating because you probably don’t want to have to create the assets and store information for that extra language; so why is it appearing?

The Solution

This is a bug with Visual Studio 2015 when it’s building your app package and occurs when you have PCLs that have a different default language than app being built. In my case, I had MVVM Light, whose default language was en-US.

Fortunately, there is a workaround until VS2015 gets this fixed, open the app’s project file, and add the following to the first PropertyGroup in there:

<SkipIntermediatePriGenerationForResourceFiles>false</SkipIntermediatePriGenerationForResourceFiles>

Now when you build your app package, you should only see the expected number of languages when you submit your app to the store.

SL

Advertisements

One response to “Got Unexpected, Extra Languages in Your UWP Store Submission?

  1. Pingback: Dew Drop – December 4, 2015 (#2145) | Morning Dew

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: