XamlParseException when running my sample

Mar 26, 2010 at 1:38 PM

Dear all,

I have follows how to integrate and test that control in a WPF application.
I have downloaded the Virtual 3D controls.

Then when runing my sample I get following exception :
Could not load file or assembly 'InfoStrat.VE, Version=, Culture=neutral, PublicKeyToken=a464bcc72081fceb' or one of its dependencies. An attempt was made to load a program with an incorrect format. Error at object 'System.Windows.Controls.Grid' in markup file 'map;component/window1.xaml' Line 7 Position 10.

I simply past it as follwo in my XAML :
<Window x:Class="map.Window1"
Title="Window1" Height="300" Width="300">

Any idea what is mmissing or wrong ?

I am runing under W7 64 bits and VS 2008 with FM 3.5 SP1

Thnaks for help



Mar 27, 2010 at 2:32 PM

full recompile after cleaning do the job

Apr 2, 2010 at 9:55 PM


Glad you figured it out and thanks for reporting your solution.


Apr 30, 2010 at 11:44 AM

Hi, I had the same problem, but recompiling didn't solve it. I was compiling in "any cpu" mode, I changed it in x86 and now it's working. I tried x64 and the problem comes again. I'm fine with x86 mode, I posted that so it can maybe help others.