2

In in the Package.appxmanifest file in my Windows Store app I noticed it has:

<m2:VisualElements DisplayName="NameOfApp"/>

Does anyone know what the m2 means?

David Klempfner
  • 8,700
  • 20
  • 73
  • 153
  • possible duplicate of [What are XML namespaces for?](http://stackoverflow.com/questions/128389/what-are-xml-namespaces-for) – Filburt Jan 08 '15 at 10:52

2 Answers2

2

At the top of your manifest should be something similar to this...

<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">

The m2 points to the namespace schema defined by the URL http://www.w3schools.com/xml/xml_namespaces.asp

Flexicoder
  • 8,251
  • 4
  • 42
  • 56
2

m2 is an xml namespace alias.

Specifically, m2 is generally used to refer to extensions added to the 2013 version of the schema:

xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest"

To distinguish it from the version used as the default namespace:

xmlns="http://schemas.microsoft.com/appx/2010/manifest" 

More on VisualElements here.

StuartLC
  • 104,537
  • 17
  • 209
  • 285