Bug 59065 - Xamarin.Forms item templates are all duplicated.
Summary: Xamarin.Forms item templates are all duplicated.
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Templates (show other bugs)
Version: 4.6.0 (15.3)
Hardware: PC Windows
: --- normal
Target Milestone: 15.5
Assignee: Joaquin Jares
Depends on:
Reported: 2017-08-26 21:44 UTC by Pierce Boggan [MSFT]
Modified: 2017-10-13 02:54 UTC (History)
2 users (show)

See Also:
Is this bug a regression?: Yes
Last known good build:


Description Pierce Boggan [MSFT] 2017-08-26 21:44:38 UTC
# Steps to Reproduce

1. Open any Xamarin.Forms app.
2. Right-click project to add an item template -> Add -> Add File -> Xamarin.Forms.

# Expected 

All item templates only appear once.

# Actual

All item templates are duplicated 2x:

# Version Information
Comment 1 Pierce Boggan [MSFT] 2017-10-13 02:51:59 UTC
Developers will only see this issue when working with Xamarin.iOS and Xamarin.Android-flavored projects, not Shared Projects, .NET Standard, or PCL. In other words, this only affects Xamarin.Forms Embedding scenarios.

Technical reason:
This was due to an issue where the <AppliesTo> was returning `True` for BOTH the SAP and PCL versions (because all it was really doing was making sure it wasn't the _other_ project flavor, and showing the item templates if so).

Note You need to log in before you can comment on or make changes to this bug.