Bug 55549 - [Xamarin.forms/Forms Item Template Refresh][VS-2013] Build failed with multiple syntax errors for crossplatform project containing all Xamarin.Forms item templates.
Summary: [Xamarin.forms/Forms Item Template Refresh][VS-2013] Build failed with multip...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Templates ()
Version: 4.5.0 (15.2)
Hardware: PC Windows
: --- major
Target Milestone: 15.2
Assignee: Pierce Boggan [MSFT]
Depends on:
Reported: 2017-04-25 10:41 UTC by Neha Kharbade
Modified: 2017-05-10 10:04 UTC (History)
7 users (show)

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

IDE logs & screenshot (107.46 KB, application/zip)
2017-04-25 10:41 UTC, Neha Kharbade
IDE Logs for xamarin.forms template 0.5.488 (88.88 KB, application/zip)
2017-04-28 07:53 UTC, Neha Kharbade
Xamarin.Forms ide logs (51.51 KB, application/octet-stream)
2017-05-10 10:04 UTC, Sumanta Welekar

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:

Description Neha Kharbade 2017-04-25 10:41:45 UTC
Created attachment 21747 [details]
IDE logs & screenshot


In VS-2013 for Cross platform project with all item templates of Xamarin.forms i.e. Content Page,Content Page (C#),Content View,Content View (C#),List View Page,Master Detail Page,Tabbed Page,View Cell, 
Build failed with multiple syntax errors.

#Environment details:

Xamarin.forms version :

for detailed version check gist link given below.

#Steps to reproduce.

1. Create a cross platform project with PCL.
2. Go to solution >> Properties and set common Properties >> Startup project >> select single start up project as portable(PCL) project.
3. Add all forms Item templates to above project given here: Add >> New Item >> Visual C# >> Xamarin.forms 
4. Clean & build the project. 

#Expected result:
Project should build Successfully.

#Actual Result:
Received multiple error & warnings

100% reproducible.

Step 2 is work around for bug :https://bugzilla.xamarin.com/show_bug.cgi?id=53668 , though warning is removed but build failed with multiple errors given in below gist link.

#Gist Error link : 

#Gist link for build info details :

Logs , screen cast & screenshot are attached with this bug.

Screen cast link: 
Comment 1 Jimmy [MSFT] 2017-04-25 15:01:22 UTC
These appear to be issues with the template content itself so I am re-assigning to the VS team.
Comment 3 Neha Kharbade 2017-04-28 07:48:54 UTC
Hi Ben,

I have verified this bug with new templates provided on trello card.

following are my observations while testing:

1. After adding all xamarin.forms templates & build that project, I am still able to received few errors & warnings. 
2. If I add all templates of xamarin.forms excluding Master detail page & build that project,it builds successfully.

I have attache new logs, please check.

Xamarin.forms version-
Xamarin.Forms Templates version - 0.5.488

Link for build errors & warning received:

Link for test versions:
Comment 4 Neha Kharbade 2017-04-28 07:53:09 UTC
Created attachment 21866 [details]
IDE Logs for xamarin.forms template 0.5.488
Comment 5 Ben Beckley 2017-05-01 04:17:16 UTC
Verified that the Master Detail Item Template is now building successfully in VS2013 using XF.Templates 0.5.491 (c157c16) 

env info: https://gist.github.com/BenBeckley/eb5c93ee6db69596a543027263efbbe0
Comment 6 Sumanta Welekar 2017-05-10 10:04:12 UTC
Verified on build info 

Logs attached
Comment 7 Sumanta Welekar 2017-05-10 10:04:43 UTC
Created attachment 22051 [details]
Xamarin.Forms ide logs