Coding4FunProjects / Coding4FunToolkit

This is where Coding4Fun will house all our cool controls and tools that we come up with
82 stars 10 forks source link

XamlParseException when using in WP8 project #8

Closed ScottIsAFool closed 9 years ago

ScottIsAFool commented 9 years ago

From email sent to nuget package owners:

Hi! Just to report that the RoundButton control raises the following exception with version 2.1.5 (wp8 assemblies):

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in System.Windows.ni.dll

Additional information: Failed to create a 'System.Type' from the text 'local:RectangularButton'. [Line: 146 Position: 21]

ScottIsAFool commented 9 years ago

By the looks of it, RectangularButton is missing from the csproj (https://github.com/Coding4FunProjects/Coding4FunToolkit/blob/master/source/Coding4Fun.Toolkit.Controls.WindowsPhone8/Coding4Fun.Toolkit.Controls%20(WP8).csproj)

hermitdave commented 9 years ago

my mistake.. incorrectly named xaml file meant that WP8 / SL8 generic xaml had reference to Rectangular Button control. I have added that control to SL as it was easier that way and released an udpate