Build Error C00CE014 due to 200+ resources in AppxManifest.xml












0















I'm building a UWP application and I'm getting a build error when the number of resources is 200+ with Visual Studio Community 2017 Version 15.9.4. If I reduce the number of resources below 200 then it builds just fine. Is this a limitation for the Community version? I intend to submit the app to the Microsoft Store and unless I limit the markets the app will fail because it doesn't support all of the required language codes which are included as resource files.



I've tried building a project from scratch...steps to reproduce detailed below. I've reduced the resource list but now I'm faced with denying my app to some markets because I believe the Microsoft Store won't accept my app for that market unless it supports the language for that market.




  1. Start Microsoft Visual Studio Community 2017 Version 15.9.4 with Microsoft.NETCore.UniversalWindowsPlatform v6.2.3 NuGet package (and no other NuGet packages) if that makes any difference.

  2. Click and Select File=>New=>Project from main menu.

  3. Select Windows Universal=>Blank App (Universal Windows) then click OK.

  4. Select Target version 17763 and Min version 16299 then Click OK (but the same error occurs with other version settings).

  5. Select Project=>Store=>Create App Packages.

  6. Select "I want to create packages for sideloading" (but the same error occurs with a Store App) then click Next.

  7. Click Create to accept the defaults.

  8. Click OK to close the popup indicating that the package was created.

  9. Click Build Solution or press F6.

  10. Right click on the app project and select New Folder then rename it Localization.

  11. Right-click on the Localization folder and select New Folder.

  12. Name the folder using one of the Supported Language Codes listed on https://docs.microsoft.com/en-us/windows/uwp/publish/supported-languages.

  13. Right click on the new folder and select Add=>New Item.

  14. Select XAML=>Resources File (.resw) then click Add.

  15. Enter any value, for example String1, for the String1 Name and save it.

  16. Create additional sub folders for all supported language codes and copy the same resource file into those folders.

  17. Add those resource files to the project.

  18. Try to build the project.


Result:



Error       Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 223, Column 6, Reason: Element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resource' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resources'. App1    C:UsersSteveDocumentsVisual Studio 2017ProjectsUWPApp1App1binx86DebugAppxManifest.xml   


Note: Line 223 is the line where the 200th resource line: <Resource Language="LT" /> is located. However, the error goes away if Resources.resw files are removed from the project until there are 202 or less localization resources in the project. This error is preventing my UWP applications from being available to all supported markets.










share|improve this question




















  • 2





    submit it as error to Microsoft

    – magicandre1981
    Dec 31 '18 at 8:50











  • Look that, in order to submit your app to all markets, you don’t necessarily need to create all those .resw files... where a certain national language isn’t found, it will peek up the standard one specified in the AppManifest.

    – Luca Lindholm
    Dec 31 '18 at 13:53
















0















I'm building a UWP application and I'm getting a build error when the number of resources is 200+ with Visual Studio Community 2017 Version 15.9.4. If I reduce the number of resources below 200 then it builds just fine. Is this a limitation for the Community version? I intend to submit the app to the Microsoft Store and unless I limit the markets the app will fail because it doesn't support all of the required language codes which are included as resource files.



I've tried building a project from scratch...steps to reproduce detailed below. I've reduced the resource list but now I'm faced with denying my app to some markets because I believe the Microsoft Store won't accept my app for that market unless it supports the language for that market.




  1. Start Microsoft Visual Studio Community 2017 Version 15.9.4 with Microsoft.NETCore.UniversalWindowsPlatform v6.2.3 NuGet package (and no other NuGet packages) if that makes any difference.

  2. Click and Select File=>New=>Project from main menu.

  3. Select Windows Universal=>Blank App (Universal Windows) then click OK.

  4. Select Target version 17763 and Min version 16299 then Click OK (but the same error occurs with other version settings).

  5. Select Project=>Store=>Create App Packages.

  6. Select "I want to create packages for sideloading" (but the same error occurs with a Store App) then click Next.

  7. Click Create to accept the defaults.

  8. Click OK to close the popup indicating that the package was created.

  9. Click Build Solution or press F6.

  10. Right click on the app project and select New Folder then rename it Localization.

  11. Right-click on the Localization folder and select New Folder.

  12. Name the folder using one of the Supported Language Codes listed on https://docs.microsoft.com/en-us/windows/uwp/publish/supported-languages.

  13. Right click on the new folder and select Add=>New Item.

  14. Select XAML=>Resources File (.resw) then click Add.

  15. Enter any value, for example String1, for the String1 Name and save it.

  16. Create additional sub folders for all supported language codes and copy the same resource file into those folders.

  17. Add those resource files to the project.

  18. Try to build the project.


Result:



Error       Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 223, Column 6, Reason: Element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resource' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resources'. App1    C:UsersSteveDocumentsVisual Studio 2017ProjectsUWPApp1App1binx86DebugAppxManifest.xml   


Note: Line 223 is the line where the 200th resource line: <Resource Language="LT" /> is located. However, the error goes away if Resources.resw files are removed from the project until there are 202 or less localization resources in the project. This error is preventing my UWP applications from being available to all supported markets.










share|improve this question




















  • 2





    submit it as error to Microsoft

    – magicandre1981
    Dec 31 '18 at 8:50











  • Look that, in order to submit your app to all markets, you don’t necessarily need to create all those .resw files... where a certain national language isn’t found, it will peek up the standard one specified in the AppManifest.

    – Luca Lindholm
    Dec 31 '18 at 13:53














0












0








0








I'm building a UWP application and I'm getting a build error when the number of resources is 200+ with Visual Studio Community 2017 Version 15.9.4. If I reduce the number of resources below 200 then it builds just fine. Is this a limitation for the Community version? I intend to submit the app to the Microsoft Store and unless I limit the markets the app will fail because it doesn't support all of the required language codes which are included as resource files.



I've tried building a project from scratch...steps to reproduce detailed below. I've reduced the resource list but now I'm faced with denying my app to some markets because I believe the Microsoft Store won't accept my app for that market unless it supports the language for that market.




  1. Start Microsoft Visual Studio Community 2017 Version 15.9.4 with Microsoft.NETCore.UniversalWindowsPlatform v6.2.3 NuGet package (and no other NuGet packages) if that makes any difference.

  2. Click and Select File=>New=>Project from main menu.

  3. Select Windows Universal=>Blank App (Universal Windows) then click OK.

  4. Select Target version 17763 and Min version 16299 then Click OK (but the same error occurs with other version settings).

  5. Select Project=>Store=>Create App Packages.

  6. Select "I want to create packages for sideloading" (but the same error occurs with a Store App) then click Next.

  7. Click Create to accept the defaults.

  8. Click OK to close the popup indicating that the package was created.

  9. Click Build Solution or press F6.

  10. Right click on the app project and select New Folder then rename it Localization.

  11. Right-click on the Localization folder and select New Folder.

  12. Name the folder using one of the Supported Language Codes listed on https://docs.microsoft.com/en-us/windows/uwp/publish/supported-languages.

  13. Right click on the new folder and select Add=>New Item.

  14. Select XAML=>Resources File (.resw) then click Add.

  15. Enter any value, for example String1, for the String1 Name and save it.

  16. Create additional sub folders for all supported language codes and copy the same resource file into those folders.

  17. Add those resource files to the project.

  18. Try to build the project.


Result:



Error       Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 223, Column 6, Reason: Element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resource' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resources'. App1    C:UsersSteveDocumentsVisual Studio 2017ProjectsUWPApp1App1binx86DebugAppxManifest.xml   


Note: Line 223 is the line where the 200th resource line: <Resource Language="LT" /> is located. However, the error goes away if Resources.resw files are removed from the project until there are 202 or less localization resources in the project. This error is preventing my UWP applications from being available to all supported markets.










share|improve this question
















I'm building a UWP application and I'm getting a build error when the number of resources is 200+ with Visual Studio Community 2017 Version 15.9.4. If I reduce the number of resources below 200 then it builds just fine. Is this a limitation for the Community version? I intend to submit the app to the Microsoft Store and unless I limit the markets the app will fail because it doesn't support all of the required language codes which are included as resource files.



I've tried building a project from scratch...steps to reproduce detailed below. I've reduced the resource list but now I'm faced with denying my app to some markets because I believe the Microsoft Store won't accept my app for that market unless it supports the language for that market.




  1. Start Microsoft Visual Studio Community 2017 Version 15.9.4 with Microsoft.NETCore.UniversalWindowsPlatform v6.2.3 NuGet package (and no other NuGet packages) if that makes any difference.

  2. Click and Select File=>New=>Project from main menu.

  3. Select Windows Universal=>Blank App (Universal Windows) then click OK.

  4. Select Target version 17763 and Min version 16299 then Click OK (but the same error occurs with other version settings).

  5. Select Project=>Store=>Create App Packages.

  6. Select "I want to create packages for sideloading" (but the same error occurs with a Store App) then click Next.

  7. Click Create to accept the defaults.

  8. Click OK to close the popup indicating that the package was created.

  9. Click Build Solution or press F6.

  10. Right click on the app project and select New Folder then rename it Localization.

  11. Right-click on the Localization folder and select New Folder.

  12. Name the folder using one of the Supported Language Codes listed on https://docs.microsoft.com/en-us/windows/uwp/publish/supported-languages.

  13. Right click on the new folder and select Add=>New Item.

  14. Select XAML=>Resources File (.resw) then click Add.

  15. Enter any value, for example String1, for the String1 Name and save it.

  16. Create additional sub folders for all supported language codes and copy the same resource file into those folders.

  17. Add those resource files to the project.

  18. Try to build the project.


Result:



Error       Validation error. error C00CE014: App manifest validation error: The app manifest must be valid as per schema: Line 223, Column 6, Reason: Element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resource' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Resources'. App1    C:UsersSteveDocumentsVisual Studio 2017ProjectsUWPApp1App1binx86DebugAppxManifest.xml   


Note: Line 223 is the line where the 200th resource line: <Resource Language="LT" /> is located. However, the error goes away if Resources.resw files are removed from the project until there are 202 or less localization resources in the project. This error is preventing my UWP applications from being available to all supported markets.







c# uwp localization visual-studio-2017






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '18 at 9:02









Ali

1,0991320




1,0991320










asked Dec 31 '18 at 4:01









Steve WoodSteve Wood

11




11








  • 2





    submit it as error to Microsoft

    – magicandre1981
    Dec 31 '18 at 8:50











  • Look that, in order to submit your app to all markets, you don’t necessarily need to create all those .resw files... where a certain national language isn’t found, it will peek up the standard one specified in the AppManifest.

    – Luca Lindholm
    Dec 31 '18 at 13:53














  • 2





    submit it as error to Microsoft

    – magicandre1981
    Dec 31 '18 at 8:50











  • Look that, in order to submit your app to all markets, you don’t necessarily need to create all those .resw files... where a certain national language isn’t found, it will peek up the standard one specified in the AppManifest.

    – Luca Lindholm
    Dec 31 '18 at 13:53








2




2





submit it as error to Microsoft

– magicandre1981
Dec 31 '18 at 8:50





submit it as error to Microsoft

– magicandre1981
Dec 31 '18 at 8:50













Look that, in order to submit your app to all markets, you don’t necessarily need to create all those .resw files... where a certain national language isn’t found, it will peek up the standard one specified in the AppManifest.

– Luca Lindholm
Dec 31 '18 at 13:53





Look that, in order to submit your app to all markets, you don’t necessarily need to create all those .resw files... where a certain national language isn’t found, it will peek up the standard one specified in the AppManifest.

– Luca Lindholm
Dec 31 '18 at 13:53












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53983468%2fbuild-error-c00ce014-due-to-200-resources-in-appxmanifest-xml%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53983468%2fbuild-error-c00ce014-due-to-200-resources-in-appxmanifest-xml%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas