can't view the designer

Dec 23, 2010 at 12:00 AM

I use the source code, but when compiling, I have two errors,
the first, I can not see the designer,
and second, I can not load the models. .. .ase
could you help me, please!?
For some time I'm trying to solve, there may be a bug in the file but I tried them all and I get the same thing.


The following is the error in Visual studio 2010...

An unhandled exception was encountered while trying to render the current silverlight project on the design surface. To diagnose this failure, please try to run the project in a regular browser using the silverlight developer runtime.
   at Microsoft.Windows.Design.Platform.SilverlightViewProducer.OnUnhandledException(Object sender, ViewUnhandledExceptionEventArgs e)
   at Microsoft.Expression.Platform.Silverlight.SilverlightPlatformSpecificView.OnUnhandledException(Object sender, ViewUnhandledExceptionEventArgs args)
   at Microsoft.Expression.Platform.Silverlight.Host.SilverlightImageHost.<>c__DisplayClass1.<Application_UnhandledException>b__0(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

There is no loader for the specified file type 'ase'
   at Balder.Assets.AssetLoaderService.GetLoader[T](String assetName)
   at Balder.Content.ContentManager.LoadInto[T](T asset, String assetName)
   at Balder.Objects.Geometries.Mesh.Prepare(Viewport viewport)
   at Balder.Node.OnPrepare(Viewport viewport)
   at Balder.Rendering.NodeRenderingService.Prepare(Viewport viewport, INode node)
   at Balder.Rendering.NodeRenderingService.Prepare(Viewport viewport, NodeCollection nodes)
   at Balder.Scene.Prepare(Viewport viewport)
   at Balder.Display.Viewport.Prepare(PrepareMessage prepareMessage)
   at Balder.Execution.MessageSubscriptions`1.Notify(T message)
   at Balder.Display.Silverlight.Display.Prepare()
   at Balder.Rendering.Silverlight.RenderEventHandler.Invoke()
   at Balder.Rendering.Silverlight.RenderingManager.ShowTimer(Object sender, EventArgs e)
   at System.Windows.Media.CompositionTarget.OnRendering(Object sender, RenderingEventArgs e)
   at MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)

Dec 23, 2010 at 10:48 AM


I'm not sure if the author of Slartoolkit is maintaining the Balder sample. It seems that the sample is using Balder wrong, since its not able to find the ASE loader, which is part of the core library. 

You might want to cross-post on Slartoolkits forum and see if that is the case. I talk to the author from time to time, so he'll probably contact me if there is something I need to do to align with his thoughts.

Dec 30, 2010 at 1:23 PM

Hi Einar,

I recently tried the latest Balder build with my SLARToolkit sample and I got the same error. It only occurs in the Visual Studio designer and the sample compiles and runs fine. I didn't have time to investigate this further. Maybe you want to look over the sample. Just check out the code and see the MainPage.xaml of the sample.


- Rene Schulte

Dec 30, 2010 at 9:57 PM
Thanks René for the input, I'll be sure to look into this as soon as I get a chance.