Bug 21192 - Portable Forms app creates invalid Windows Phone Manifest
Summary: Portable Forms app creates invalid Windows Phone Manifest
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Xamarin.Forms ()
Version: 3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: vsx
URL:
: 20901 20944 21405 ()
Depends on:
Blocks:
 
Reported: 2014-07-09 06:09 UTC by Joost van Schaik
Modified: 2014-08-11 09:29 UTC (History)
10 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Joost van Schaik 2014-07-09 06:09:03 UTC
It says, for instance 


<App xmlns="" ProductID="8e8a2a06-4806-4f1a-b813-10aba968b0b6" Title="MvvmSecond.WinPhone" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal"  Author="MvvmSecond.WinPhone author" Description="Sample description" Publisher="MvvmSecond.WinPhone" PublisherID="9c165636-e77d-4c3b-8e5e-bd662121f2a2"> 



While it should create


<App xmlns="" ProductID="{8e8a2a06-4806-4f1a-b813-10aba968b0b6}" Title="MvvmSecond.WinPhone" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal"  Author="MvvmSecond.WinPhone author" Description="Sample description" Publisher="MvvmSecond.WinPhone" PublisherID="{9c165636-e77d-4c3b-8e5e-bd662121f2a2}"> 


The accolades around the GUIDS are missing.
Comment 1 Udham Singh 2014-07-09 07:31:33 UTC
I have checked this issue and observed the same behavior mentioned in bug description. Please refer the screencast : http://www.screencast.com/t/sJZEUP1AI

Environment Info : 

Windows 8.1
VS 2013
Xamarin 3.1.215.0
Comment 2 saramgsilva 2014-07-11 18:34:28 UTC
I have the same issue, and have the last version from Xamarin.
Comment 3 Eric Maupin 2014-07-16 13:28:30 UTC
*** Bug 20944 has been marked as a duplicate of this bug. ***
Comment 4 Eric Maupin 2014-07-17 17:19:43 UTC
*** Bug 21405 has been marked as a duplicate of this bug. ***
Comment 5 Fredrik Haglund 2014-07-21 08:00:51 UTC
Contributing with steps and the error message so this is easier to find:

Steps:
* In Visual Studio, select File > New > Project. 
* In the New Project Dialog that appears, click on Templates > Visual C# > Mobile Apps, and select the Blank App (Xamarin.Forms Portable) project
* Build All

Expected: Should compile without errors.
Actual: Error when compiling Windows App. "The WMAppManifest.xml file isn’t correct. The 'ProductID' attribute is invalid - The value 'ed4b9d0f-7222-1234-1234-7fa1d5e3301b' is invalid according to its datatype 'http://WPCommontypes:ST_Guid' - The Pattern constraint failed.

Workaround:
* Open Properties/WMAppManifest.xml with text editor (designer fails to load due to error)
* Add curley brackets around the guids for the App-tags attribute ProductID and PublisherID.

From:
  <App xmlns="" ProductID="ed4b9d0f-7222-1234-1234-7fa1d5e3301b" Title="HelloForms3.WinPhone" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal"  Author="HelloForms3.WinPhone author" Description="Sample description" Publisher="HelloForms3.WinPhone" PublisherID="2c993e36-1234-1234-1234-a9468a1a845a">

To
  <App xmlns="" ProductID="{ed4b9d0f-7222-1234-1234-7fa1d5e3301b}" Title="HelloForms3.WinPhone" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal"  Author="HelloForms3.WinPhone author" Description="Sample description" Publisher="HelloForms3.WinPhone" PublisherID="{2c993e36-1234-1234-1234-a9468a1a845a}">
Comment 6 David Karlaš 2014-08-11 09:28:19 UTC
*** Bug 20901 has been marked as a duplicate of this bug. ***
Comment 7 David Karlaš 2014-08-11 09:29:32 UTC
This was already fixed and verified as Bug 20901 in version 3.3.43