Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

System.Reflection.AmbiguousMatchException #2847

Closed
dev-manishpandey opened this issue May 28, 2018 · 4 comments
Closed

System.Reflection.AmbiguousMatchException #2847

dev-manishpandey opened this issue May 28, 2018 · 4 comments
Assignees
Labels

Comments

@dev-manishpandey
Copy link

dev-manishpandey commented May 28, 2018

Hi @StephaneDelcroix

#2632

This issue still appears when i use ControlTemplate="{StaticResource MyTemplate}"

ex:
<local:Gh2632Base xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Xamarin.Forms.Xaml.UnitTests.Gh2632" xmlns:local="clr-namespace:Xamarin.Forms.Xaml.UnitTests" ControlTemplate="{StaticResource MyTemplate}" x:Name="Page">

image

If I remove ControlTemplate="{StaticResource MyTemplate}" from my code, everything works as expected.

@StephaneDelcroix StephaneDelcroix self-assigned this May 28, 2018
@StephaneDelcroix
Copy link
Member

could you please:

  • attach a reproduction project
  • tell us on which version you have that issue.

thanks

@dev-manishpandey
Copy link
Author

Sorry but i'm not able to create pcl project in visual studio 15.7.2
But i can provide you some details

Project type: PCL - Cross platform xamarin forms

Xamarin.forms version 3.0.0.482510
Microsoft.NETCore.Platforms version="2.0.2"
Microsoft.Bcl.Build" version="1.0.21"
Microsoft.CSharp" version="4.4.1"
NETStandard.Library" version="2.0.3"
System.Console" version="4.3.1"
System.AppContext" version="4.3.0"
System.Collections" version="4.3.0"
System.Collections.Concurrent" version="4.3.0"
System.ComponentModel.TypeConverter" version="4.3.0"
System.Console" version="4.3.0"
System.Console" version="4.3.1"
System.Diagnostics.Debug" version="4.3.0"
System.Diagnostics.Tools" version="4.3.0"
System.Diagnostics.Tracing" version="4.3.0"

I hope this will be helpful.

@StephaneDelcroix
Copy link
Member

The fix for #2632 isn't included yet in XF 3.0.0.482510. Please test the upcoming version, or the nuget here https://github.com/xamarin/Xamarin.Forms/releases/tag/release-3.0.0-sr2, and open a new issue if the problem persists

@vaindil
Copy link

vaindil commented May 29, 2018

@StephaneDelcroix That release tag doesn't have a package attached, and the latest nightly (3.1.0.506097-nightly) doesn't have the fix. Do I need to build it myself?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants