New Posts New Posts RSS Feed: How do I debug Harness
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

How do I debug Harness

 Post Reply Post Reply
Author
halloweenx8 View Drop Down
Newbie
Newbie
Avatar

Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
Post Options Post Options   Quote halloweenx8 Quote  Post ReplyReply Direct Link To This Post Topic: How do I debug Harness
    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.”
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 24-Sep-2012 at 1:32pm
Back to Top
halloweenx8 View Drop Down
Newbie
Newbie
Avatar

Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
Post Options Post Options   Quote halloweenx8 Quote  Post ReplyReply Direct Link To This Post 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.”
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post 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.
 
Back to Top
halloweenx8 View Drop Down
Newbie
Newbie
Avatar

Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
Post Options Post Options   Quote halloweenx8 Quote  Post ReplyReply Direct Link To This Post 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.”
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
halloweenx8 View Drop Down
Newbie
Newbie
Avatar

Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
Post Options Post Options   Quote halloweenx8 Quote  Post ReplyReply Direct Link To This Post 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.”
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 25-Sep-2012 at 8:00am
Also, make sure you install Tools before Toolkit.
Back to Top
halloweenx8 View Drop Down
Newbie
Newbie
Avatar

Joined: 07-Sep-2012
Location: Longueuil, QC
Posts: 36
Post Options Post Options   Quote halloweenx8 Quote  Post ReplyReply Direct Link To This Post 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.”
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down