This project is read-only.

Cannot create instance of youtubebutton

May 6, 2012 at 6:37 PM

When i trying to place an youtube button on a new page in xaml i constantly get the error "cannot create instance of Youtube Button"


All other controls in the toolkit are working.

I referenced it like this 


<Grid x:Name="LayoutRoot">
        <controls:Pivot Title="Test v1.0">
            <!--Pivotelement eins-->
            <controls:PivotItem Header="" DataContext="{Binding}">
            <ImageBrush ImageSource="/UsamiFan;component/Images/SplashScreenEmpty.jpg" />

May 6, 2012 at 7:57 PM
Edited May 6, 2012 at 9:39 PM

Maybe you missed to reference the WP Silverlight Toolkit:

My sample phone app ( works without problems (used NuGet to add references)...

May 7, 2012 at 10:47 AM
Edited May 7, 2012 at 4:17 PM

I will try that after work :) Thank you for your sampe app :) 

NuGet did the work :) Thanks

Oct 4, 2012 at 10:51 PM

First of all, thanks for your work on this project. Second, I am trying to get your SamplePhoneApp working and I can't seem to get it to build. I get several errors about IEntity not being found, EntityContainer not being found, The clr-namespace URI not included in the assembly, etc. 

I have installed and updated to the latest nuget and myToolkit. I have the latest WP7 SDK (7.1.1) and I am using VS2010. Do you have a more recent version of the app?

Thanks in advance for the help!

Oct 4, 2012 at 11:02 PM

The sample phone app is out of date... I'll try to fix it...

Oct 4, 2012 at 11:15 PM
Edited Oct 4, 2012 at 11:16 PM

Thanks so much, you rock! Keep us posted :)

Oct 4, 2012 at 11:53 PM
Edited Oct 4, 2012 at 11:53 PM

Ok, you can download the whole project here: (click on "download")

The SamplePhoneApp can be found in the "- Samples" directory.

In productive environments you should use the NuGet package, as the live version can have more unstable classes / changes.

Oct 5, 2012 at 12:43 AM

Thanks so much for the quick response! It worked perfectly :)