Author |
Share Topic Topic Search Topic Options
|
halloweenx8
Newbie
Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
|
Post Options
Quote Reply
Topic: How do I debug Harness Posted: 25-Sep-2012 at 8:40am |
well , as soon as I reinstalled it and put the windows controls toolkit in the harness project everything appeared... HO YEAH
|
Jean
"If You are Not Making Mistakes, then You are Not Doing Anything.”
|
|
mgood
IdeaBlade
Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
|
Post Options
Quote Reply
Posted: 25-Sep-2012 at 8:00am |
Also, make sure you install Tools before Toolkit.
|
|
halloweenx8
Newbie
Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
|
Post Options
Quote Reply
Posted: 25-Sep-2012 at 7:44am |
yes i did both install but that was a while ago, i'm re-install both of them right now
|
Jean
"If You are Not Making Mistakes, then You are Not Doing Anything.”
|
|
mgood
IdeaBlade
Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
|
Post Options
Quote Reply
Posted: 25-Sep-2012 at 6:48am |
Just to be sure. Did you install the Silverlight Tools and the Silverlight Toolkit? They are two seperate installers for each version of Silverlight. Tools and Toolkit are not the same.
|
|
halloweenx8
Newbie
Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
|
Post Options
Quote Reply
Posted: 25-Sep-2012 at 6:43am |
I did have the silverlight 4 and 5 installed , but to be sure i'm going to resinstall it...
|
Jean
"If You are Not Making Mistakes, then You are Not Doing Anything.”
|
|
mgood
IdeaBlade
Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
|
Post Options
Quote Reply
Posted: 25-Sep-2012 at 1:12am |
That looks like you don't have the Silverlight 5 Toolkit installed. The Silverlight 5 Toolkit is a prerequisite for Silverlight 5 development.
|
|
halloweenx8
Newbie
Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
|
Post Options
Quote Reply
Posted: 24-Sep-2012 at 8:48pm |
Yes i did <Application.Resources> <ResourceDictionary> <local:AppBootstrapper x:Key="AppBootstrapper" /> <designTimeSupport:ViewModelLocator x:Key="ViewModelLocator" /> </ResourceDictionary> </Application.Resources> now by debugging step by step i got that error Message = "The type 'WrapPanel' was not found because 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit' is an unknown namespace. [Line: 21 Position: 70]" at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at Cocktail.HarnessView.InitializeComponent() PS: I'm using silverlight 5 .net 4.0 with Cocktail 1.01 and Ideablade 6.1.8
|
Jean
"If You are Not Making Mistakes, then You are Not Doing Anything.”
|
|
mgood
IdeaBlade
Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
|
Post Options
Quote Reply
Posted: 24-Sep-2012 at 1:32pm |
Have you added the bootstrapper static resource to your App.xaml?
|
|
sbelini
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
|
Post Options
Quote Reply
Posted: 24-Sep-2012 at 11:46am |
Hi Jean, Since your question is related to Cocktail, I am moving your post. In the future, posting your Cocktail questions in the right place will ensure a faster response. Regards, Silvio.
|
|
halloweenx8
Newbie
Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
|
Post Options
Quote Reply
Posted: 23-Sep-2012 at 12:52pm |
Hi I'm trying to use the Harness methodology to quickly look at my screens but every time i start the harness it loads the silverlight app up to 100% and stays there ... doing nothing I looked at the logs and there are no exceptions ... any pointers? thanks
|
Jean
"If You are Not Making Mistakes, then You are Not Doing Anything.”
|
|