Print Page | Close Window

How do I debug Harness

Printed From: IdeaBlade
Category: Cocktail
Forum Name: Community Forum
Forum Discription: A professional application framework using Caliburn.Micro and DevForce
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3656
Printed Date: 28-Apr-2024 at 2:07pm


Topic: How do I debug Harness
Posted By: halloweenx8
Subject: How do I debug Harness
Date 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.”



Replies:
Posted By: sbelini
Date 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.


Posted By: mgood
Date Posted: 24-Sep-2012 at 1:32pm
Have you added the bootstrapper static resource to your App.xaml?
 
http://drc.ideablade.com/xwiki/bin/view/Documentation/cocktail-application-bootstrapper#HCreatingabootstrapper - http://drc.ideablade.com/xwiki/bin/view/Documentation/cocktail-application-bootstrapper#HCreatingabootstrapper


Posted By: halloweenx8
Date 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.”


Posted By: mgood
Date 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.
 
http://drc.ideablade.com/xwiki/bin/view/Documentation/cocktail-getting-started#HPrerequisites - http://drc.ideablade.com/xwiki/bin/view/Documentation/cocktail-getting-started#HPrerequisites


Posted By: halloweenx8
Date 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.”


Posted By: mgood
Date 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.


Posted By: halloweenx8
Date 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.”


Posted By: mgood
Date Posted: 25-Sep-2012 at 8:00am
Also, make sure you install Tools before Toolkit.


Posted By: halloweenx8
Date 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.”



Print Page | Close Window