Bug 57903 - Add new file to NETStandard Xamarin.Forms library show item templates duplicated
Summary: Add new file to NETStandard Xamarin.Forms library show item templates duplicated
Status: RESOLVED DUPLICATE of bug 56545
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Templates ()
Version: 4.5.0 (15.2)
Hardware: PC Windows
: --- normal
Target Milestone: 15.4
Assignee: Pierce Boggan [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-07-03 10:29 UTC by armin
Modified: 2017-07-03 15:13 UTC (History)
3 users (show)

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


Attachments
Add New Item Window Snapshot (64.99 KB, image/png)
2017-07-03 10:29 UTC, armin
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:
RESOLVED DUPLICATE of bug 56545

Description armin 2017-07-03 10:29:34 UTC
Created attachment 23257 [details]
Add New Item Window Snapshot

Steps to repro:
1) Create a new Blank Forms App, choose PCL sharing style, use XAML interfaces
2) Right click on the PCL, add a new file, observe the Forms item templates in the dialog.
3) Click cancel
4) Retarget the PCL to netstandard1.4
5) Right click on the PCL, add a new file, observe the Forms item templates are duplicated!

When you select each of the page templates, Xaml and cs files are added to the project individually(CS file is NOT dependent upon XAML file).

Actual result:
No Forms item templates

Expected:
Forms item templates should not be duplicated


Probably it is related to Bug #55656.
Comment 1 Pierce Boggan [MSFT] 2017-07-03 15:13:14 UTC
Thanks so much for the report, @armin! :) Marking as a duplicate of #56545. We're currently targeting fixing this in the 15.4 release. Thanks again!

*** This bug has been marked as a duplicate of bug 56545 ***