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...
Status: VERIFIED FIXED
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]
URL:
Depends on:
Blocks:
 
Reported: 2017-04-25 10:41 UTC by Neha Kharbade
Modified: 2017-05-10 10:04 UTC (History)
7 users (show)

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


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


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:
VERIFIED FIXED

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

#Description:

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 : 2.3.4.224
Xamarin   4.5.0.415
Xamarin.Android   7.3.0.11
Xamarin.iOS   10.10.0.19

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 : 
https://gist.github.com/nehaKh/b8e3f53fa9786e5dc0d914fe0e2f5798

#Gist link for build info details :
 https://gist.github.com/nehaKh/ed9fd858227aec9be4c99815a8bc2a39


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

Screen cast link: 
http://www.screencast.com/t/eHTVj2kXko
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- 2.3.4.224
Xamarin.Forms Templates version - 0.5.488

Link for build errors & warning received:
https://gist.github.com/nehaKh/de5d4f8104e5a0c8ec7d65d1a1fd8e49

Link for test versions:
https://gist.github.com/nehaKh/f391eddece2e9d752a434e838077cc35
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 
https://gist.github.com/SumantaWelekar/fdbc3c426108d975cfe57d1aee8442de

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