<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>patterns &amp; practices - Smart Client Guidance</title><link>http://smartclient.codeplex.com/project/feeds/rss</link><description>Welcome to the Community workspace of patterns &amp;#38; practices Smart Client offerings.</description><item><title>New Post: how to create a VTK.Net View?</title><link>http://smartclient.codeplex.com/discussions/439438</link><description>&lt;div style="line-height: normal;"&gt;Hi Damian, &lt;br /&gt;
&lt;br /&gt;
It was as you said. I set my project to target a x84 platform and It works perfect. &lt;br /&gt;
&lt;br /&gt;
Thank you very much&lt;br /&gt;
&lt;/div&gt;</description><author>tingspain</author><pubDate>Wed, 17 Apr 2013 00:34:44 GMT</pubDate><guid isPermaLink="false">New Post: how to create a VTK.Net View? 20130417123444A</guid></item><item><title>New Post: how to create a VTK.Net View?</title><link>http://smartclient.codeplex.com/discussions/439438</link><description>&lt;div style="line-height: normal;"&gt;Hi Damian, &lt;br /&gt;
&lt;br /&gt;
It was as you said. I set my project to target a x84 platform and It works perfect. &lt;br /&gt;
&lt;br /&gt;
Thank you very much&lt;br /&gt;
&lt;/div&gt;</description><author>tingspain</author><pubDate>Wed, 17 Apr 2013 00:34:44 GMT</pubDate><guid isPermaLink="false">New Post: how to create a VTK.Net View? 20130417123444A</guid></item><item><title>New Post: how to create a VTK.Net View?</title><link>http://smartclient.codeplex.com/discussions/439438</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Looking at the exception, it seems that the key behind the problem is the following one:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; InnerException: System.BadImageFormatException
        Message=&amp;quot;Could not load file or assembly 'Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies.  
        An attempt was made to load a program with an incorrect format .&amp;quot;
        Source=&amp;quot;Module2&amp;quot;
        FileName=&amp;quot;Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44&amp;quot;
&lt;/code&gt;&lt;/pre&gt;

Based on my understanding, the &amp;quot; &lt;strong&gt;&lt;em&gt;An attempt was made to load a program with an incorrect format&lt;/em&gt;&lt;/strong&gt; &amp;quot; message appears when trying to load a corrupted dll or an unmanaged non-COM 32-bits dll inside a .NET application built for 64-bits architectures. As a starting point, please check that your build configurations a targeted to x86.&lt;br /&gt;
&lt;br /&gt;
Also, I am not familiar with the &lt;strong&gt;Visualization Tooltik (VTK)&lt;/strong&gt; but I believe the following library could be useful to develop .NET applications with it (in case you are not using it already):&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.vtk.org/Wiki/VTK/CSharp/ActiViz.NET" rel="nofollow"&gt;ActiViz.NET in VTK Wiki&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Damian Cherubini&lt;br /&gt;
&lt;a href="http://blogs.southworks.net/dcherubini" rel="nofollow"&gt;http://blogs.southworks.net/dcherubini&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>DCherubini</author><pubDate>Mon, 08 Apr 2013 19:42:03 GMT</pubDate><guid isPermaLink="false">New Post: how to create a VTK.Net View? 20130408074203P</guid></item><item><title>New Post: how to create a VTK.Net View?</title><link>http://smartclient.codeplex.com/discussions/439438</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Looking at the exception, it seems that the key behind the problem is the following one:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt; InnerException: System.BadImageFormatException
        Message=&amp;quot;Could not load file or assembly 'Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies.  
        An attempt was made to load a program with an incorrect format .&amp;quot;
        Source=&amp;quot;Module2&amp;quot;
        FileName=&amp;quot;Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44&amp;quot;
&lt;/code&gt;&lt;/pre&gt;

Based on my understanding, the &amp;quot; &lt;strong&gt;&lt;em&gt;An attempt was made to load a program with an incorrect format&lt;/em&gt;&lt;/strong&gt; &amp;quot; message appears when trying to load a corrupted dll or an unmanaged non-COM 32-bits dll inside a .NET application built for 64-bits architectures. As a starting point, please check that your build configurations a targeted to x86.&lt;br /&gt;
&lt;br /&gt;
Also, I am not familiar with the &lt;strong&gt;Visualization Tooltik (VTK)&lt;/strong&gt; but I believe the following library could be useful to develop .NET applications with it (in case you are not using it already):&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.vtk.org/Wiki/VTK/CSharp/ActiViz.NET" rel="nofollow"&gt;ActiViz.NET in VTK Wiki&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Damian Cherubini&lt;br /&gt;
&lt;a href="http://blogs.southworks.net/dcherubini" rel="nofollow"&gt;http://blogs.southworks.net/dcherubini&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>DCherubini</author><pubDate>Mon, 08 Apr 2013 19:42:03 GMT</pubDate><guid isPermaLink="false">New Post: how to create a VTK.Net View? 20130408074203P</guid></item><item><title>New Post: how to create a VTK.Net View?</title><link>http://smartclient.codeplex.com/discussions/439438</link><description>&lt;div style="line-height: normal;"&gt;Hello, &lt;br /&gt;
&lt;br /&gt;
First of all, I would like to state that I am a newbie using CAB and Smart Client Software Factory. &lt;br /&gt;
&lt;br /&gt;
I am trying to embeded VTK.Net into a view. But I dont know why. I get an ModuleLoadException.&lt;br /&gt;
&lt;br /&gt;
I dont know what I am doing wrong. &lt;br /&gt;
&lt;br /&gt;
Could anyone help me? &lt;br /&gt;
&lt;br /&gt;
thanks in advance. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;The Error Exception that I get&lt;/strong&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
Microsoft.Practices.CompositeUI.Services.ModuleLoadException was unhandled
  Message=&amp;quot;Failed to load module from assembly 7f405271-9377-4d9c-9ed7-141f6b216a13. Error was:\r\nFailed to load module from assembly Module2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Error was:\r\nException has been thrown by the target of an invocation.&amp;quot;
  Source=&amp;quot;Infrastructure.Library&amp;quot;
  StackTrace:
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.ModuleMetadata.ThrowModuleLoadException(Exception innerException) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 434
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.ModuleMetadata.InitializeModuleClasses(WorkItem workItem) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 396
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.InnerLoad(WorkItem workItem, IModuleInfo[] modules) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 124
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.Load(WorkItem workItem, IModuleInfo[] modules) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 79
       at Microsoft.Practices.CompositeUI.CabApplication`1.LoadModules()
       at Microsoft.Practices.CompositeUI.CabApplication`1.Run()
       at SCFSTest.Infrastructure.Shell.ShellApplication.RunInDebugMode() in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Shell\ShellApplication.cs:line 56
       at SCFSTest.Infrastructure.Shell.ShellApplication.Main() in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Shell\ShellApplication.cs:line 47
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Reflection.TargetInvocationException
       Message=&amp;quot;Exception has been thrown by the target of an invocation.&amp;quot;
       Source=&amp;quot;mscorlib&amp;quot;
       StackTrace:
            at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp;amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
            at System.Reflection.RuntimeConstructorInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
            at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
            at Microsoft.Practices.ObjectBuilder.CreationStrategy.InitializeObject(IBuilderContext context, Object existing, String id, ICreationPolicy policy)
            at Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUpNewObject(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
            at Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
            at Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.BuildFirstTimeItem(Type typeToBuild, String idToBuild, Object item)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.Build(Type typeToBuild, String idToBuild, Object item)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.AddNew(Type typeToBuild, String id)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.AddNew[TTypeToBuild]()
            at SCFSTest.Module2.ModuleController.AddViews() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\ModuleController.cs:line 65
            at SCFSTest.Module2.ModuleController.Run() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\ModuleController.cs:line 31
            at SCFSTest.Module2.Module.Load() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\Module.cs:line 36
            at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.ModuleMetadata.InitializeModuleClasses(WorkItem workItem) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 389
       InnerException: System.BadImageFormatException
            Message=&amp;quot;Could not load file or assembly 'Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies. An attempt was made to load a program with an incorrect format.&amp;quot;
            Source=&amp;quot;Module2&amp;quot;
            FileName=&amp;quot;Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44&amp;quot;
            FusionLog=&amp;quot;=== Pre-bind state information ===\r\nLOG: User = aisha\\ting\r\nLOG: DisplayName = Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44\n (Fully-specified)\r\nLOG: Appbase = file:///D:/Projects/Visual Studio 2008/SCFSTest/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : Module2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: D:\\Projects\\Visual Studio 2008\\SCFSTest\\bin\\Debug\\Shell.vshost.exe.Config\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config\\machine.config.\r\nLOG: Post-policy reference: Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44\r\nLOG: Attempting download of new URL file:///D:/Projects/Visual Studio 2008/SCFSTest/bin/Debug/Kitware.VTK.DLL.\r\nERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.\r\n&amp;quot;
            StackTrace:
                 at SCFSTest.Module2.View1.InitializeComponent()
                 at SCFSTest.Module2.View1..ctor() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\Views\View1.cs:line 30
            InnerException: 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>tingspain</author><pubDate>Sun, 07 Apr 2013 22:53:50 GMT</pubDate><guid isPermaLink="false">New Post: how to create a VTK.Net View? 20130407105350P</guid></item><item><title>New Post: how to create a VTK.Net View?</title><link>http://smartclient.codeplex.com/discussions/439438</link><description>&lt;div style="line-height: normal;"&gt;Hello, &lt;br /&gt;
&lt;br /&gt;
First of all, I would like to state that I am a newbie using CAB and Smart Client Software Factory. &lt;br /&gt;
&lt;br /&gt;
I am trying to embeded VTK.Net into a view. But I dont know why. I get an ModuleLoadException.&lt;br /&gt;
&lt;br /&gt;
I dont know what I am doing wrong. &lt;br /&gt;
&lt;br /&gt;
Could anyone help me? &lt;br /&gt;
&lt;br /&gt;
thanks in advance. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;The Error Exception that I get&lt;/strong&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
Microsoft.Practices.CompositeUI.Services.ModuleLoadException was unhandled
  Message=&amp;quot;Failed to load module from assembly 7f405271-9377-4d9c-9ed7-141f6b216a13. Error was:\r\nFailed to load module from assembly Module2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Error was:\r\nException has been thrown by the target of an invocation.&amp;quot;
  Source=&amp;quot;Infrastructure.Library&amp;quot;
  StackTrace:
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.ModuleMetadata.ThrowModuleLoadException(Exception innerException) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 434
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.ModuleMetadata.InitializeModuleClasses(WorkItem workItem) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 396
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.InnerLoad(WorkItem workItem, IModuleInfo[] modules) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 124
       at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.Load(WorkItem workItem, IModuleInfo[] modules) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 79
       at Microsoft.Practices.CompositeUI.CabApplication`1.LoadModules()
       at Microsoft.Practices.CompositeUI.CabApplication`1.Run()
       at SCFSTest.Infrastructure.Shell.ShellApplication.RunInDebugMode() in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Shell\ShellApplication.cs:line 56
       at SCFSTest.Infrastructure.Shell.ShellApplication.Main() in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Shell\ShellApplication.cs:line 47
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Reflection.TargetInvocationException
       Message=&amp;quot;Exception has been thrown by the target of an invocation.&amp;quot;
       Source=&amp;quot;mscorlib&amp;quot;
       StackTrace:
            at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp;amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
            at System.Reflection.RuntimeConstructorInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
            at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
            at Microsoft.Practices.ObjectBuilder.CreationStrategy.InitializeObject(IBuilderContext context, Object existing, String id, ICreationPolicy policy)
            at Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUpNewObject(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.CreationStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.ReflectionStrategy`1.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.SingletonStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.BuilderStrategy.BuildUp(IBuilderContext context, Type typeToBuild, Object existing, String idToBuild)
            at Microsoft.Practices.ObjectBuilder.TypeMappingStrategy.BuildUp(IBuilderContext context, Type t, Object existing, String id)
            at Microsoft.Practices.ObjectBuilder.BuilderBase`1.DoBuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
            at Microsoft.Practices.ObjectBuilder.BuilderBase`1.BuildUp(IReadWriteLocator locator, Type typeToBuild, String idToBuild, Object existing, PolicyList[] transientPolicies)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.BuildFirstTimeItem(Type typeToBuild, String idToBuild, Object item)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.Build(Type typeToBuild, String idToBuild, Object item)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.AddNew(Type typeToBuild, String id)
            at Microsoft.Practices.CompositeUI.Collections.ManagedObjectCollection`1.AddNew[TTypeToBuild]()
            at SCFSTest.Module2.ModuleController.AddViews() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\ModuleController.cs:line 65
            at SCFSTest.Module2.ModuleController.Run() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\ModuleController.cs:line 31
            at SCFSTest.Module2.Module.Load() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\Module.cs:line 36
            at SCFSTest.Infrastructure.Library.Services.DependentModuleLoaderService.ModuleMetadata.InitializeModuleClasses(WorkItem workItem) in D:\Projects\Visual Studio 2008\SCFSTest\Source\Infrastructure\Infrastructure.Library\Services\DependentModuleLoaderService.cs:line 389
       InnerException: System.BadImageFormatException
            Message=&amp;quot;Could not load file or assembly 'Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44' or one of its dependencies. An attempt was made to load a program with an incorrect format.&amp;quot;
            Source=&amp;quot;Module2&amp;quot;
            FileName=&amp;quot;Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44&amp;quot;
            FusionLog=&amp;quot;=== Pre-bind state information ===\r\nLOG: User = aisha\\ting\r\nLOG: DisplayName = Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44\n (Fully-specified)\r\nLOG: Appbase = file:///D:/Projects/Visual Studio 2008/SCFSTest/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : Module2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: Using application configuration file: D:\\Projects\\Visual Studio 2008\\SCFSTest\\bin\\Debug\\Shell.vshost.exe.Config\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config\\machine.config.\r\nLOG: Post-policy reference: Kitware.VTK, Version=5.8.0.607, Culture=neutral, PublicKeyToken=995c7fb9db2c1b44\r\nLOG: Attempting download of new URL file:///D:/Projects/Visual Studio 2008/SCFSTest/bin/Debug/Kitware.VTK.DLL.\r\nERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.\r\n&amp;quot;
            StackTrace:
                 at SCFSTest.Module2.View1.InitializeComponent()
                 at SCFSTest.Module2.View1..ctor() in D:\Projects\Visual Studio 2008\SCFSTest\Module2\Module2\Views\View1.cs:line 30
            InnerException: 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>tingspain</author><pubDate>Sun, 07 Apr 2013 22:53:50 GMT</pubDate><guid isPermaLink="false">New Post: how to create a VTK.Net View? 20130407105350P</guid></item><item><title>New Post: Smart Client Software Factory active or not</title><link>http://smartclient.codeplex.com/discussions/285619</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
managed to port it to VS2012 using OpenGAX&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://scsf2012.codeplex.com/" rel="nofollow"&gt;http://scsf2012.codeplex.com/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>HoytPollard</author><pubDate>Mon, 25 Feb 2013 23:19:08 GMT</pubDate><guid isPermaLink="false">New Post: Smart Client Software Factory active or not 20130225111908P</guid></item><item><title>New Post: Smart Client Software Factory active or not</title><link>http://smartclient.codeplex.com/discussions/285619</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
managed to port it to VS2012 using OpenGAX&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://scsf2012.codeplex.com/" rel="nofollow"&gt;http://scsf2012.codeplex.com/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>HoytPollard</author><pubDate>Mon, 25 Feb 2013 23:19:08 GMT</pubDate><guid isPermaLink="false">New Post: Smart Client Software Factory active or not 20130225111908P</guid></item><item><title>New Post: Visual Studio 2012</title><link>http://smartclient.codeplex.com/discussions/394168</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
managed to port it to VS2012 using OpenGAX&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://scsf2012.codeplex.com/" rel="nofollow"&gt;http://scsf2012.codeplex.com/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>HoytPollard</author><pubDate>Mon, 25 Feb 2013 23:17:44 GMT</pubDate><guid isPermaLink="false">New Post: Visual Studio 2012 20130225111744P</guid></item><item><title>New Post: Visual Studio 2012</title><link>http://smartclient.codeplex.com/discussions/394168</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
managed to port it to VS2012 using OpenGAX&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://scsf2012.codeplex.com/" rel="nofollow"&gt;http://scsf2012.codeplex.com/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>HoytPollard</author><pubDate>Mon, 25 Feb 2013 23:17:44 GMT</pubDate><guid isPermaLink="false">New Post: Visual Studio 2012 20130225111744P</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on my understanding you should be able to debug the &lt;strong&gt;SCSF &lt;/strong&gt;
Guidance Package functionalities by opening the SmartClientFactory Guidance Package solution included in the
&lt;strong&gt;SCSF &lt;/strong&gt;source (Guidance Packages folder). And by following the steps mentioned in the
&lt;strong&gt;HowToDebugGP.txt&lt;/strong&gt; file, as this will let you run an experimental instance of
&lt;strong&gt;Visual Studio&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;1) Right Click On SmartClientFactoryPackage -&amp;gt; Properties&lt;/p&gt;
&lt;p&gt;2) Set &amp;quot;Start External Programe:&amp;quot; to&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe&amp;nbsp; (for 64bit VS)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe&amp;nbsp; (for 32bit VS)&lt;br&gt;
&lt;br&gt;
3) Set &amp;quot;command command line argument:&amp;quot; to&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /rootSuffix Exp&lt;br&gt;
&lt;br&gt;
4) On Windows Start Menu:&lt;br&gt;
&amp;nbsp;&amp;nbsp; Start -&amp;gt; All Programs -&amp;gt; Microsoft Visual Studio 2010 SDK -&amp;gt; Tools -&amp;gt; Reset the Microsoft Visual Studio 2010 Experimental Instance&lt;br&gt;
&lt;br&gt;
5) Press Ctrl + F5&lt;/p&gt;
&lt;p&gt;I hope you find this handy,&lt;/p&gt;
&lt;p&gt;Agustin Adami&lt;a href="http://blogs.southworks.net/aadami"&gt;&lt;br&gt;
http://blogs.southworks.net/aadami&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>aadami</author><pubDate>Tue, 18 Dec 2012 12:45:19 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121218124519P</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on my understanding you should be able to debug the &lt;strong&gt;SCSF &lt;/strong&gt;
Guidance Package functionalities by opening the SmartClientFactory Guidance Package solution included in the
&lt;strong&gt;SCSF &lt;/strong&gt;source (Guidance Packages folder). And by following the steps mentioned in the
&lt;strong&gt;HowToDebugGP.txt&lt;/strong&gt; file, as this will let you run an experimental instance of
&lt;strong&gt;Visual Studio&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;1) Right Click On SmartClientFactoryPackage -&amp;gt; Properties&lt;/p&gt;
&lt;p&gt;2) Set &amp;quot;Start External Programe:&amp;quot; to&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe&amp;nbsp; (for 64bit VS)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe&amp;nbsp; (for 32bit VS)&lt;br&gt;
&lt;br&gt;
3) Set &amp;quot;command command line argument:&amp;quot; to&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /rootSuffix Exp&lt;br&gt;
&lt;br&gt;
4) On Windows Start Menu:&lt;br&gt;
&amp;nbsp;&amp;nbsp; Start -&amp;gt; All Programs -&amp;gt; Microsoft Visual Studio 2010 SDK -&amp;gt; Tools -&amp;gt; Reset the Microsoft Visual Studio 2010 Experimental Instance&lt;br&gt;
&lt;br&gt;
5) Press Ctrl + F5&lt;/p&gt;
&lt;p&gt;I hope you find this handy,&lt;/p&gt;
&lt;p&gt;Agustin Adami&lt;a href="http://blogs.southworks.net/aadami"&gt;&lt;br&gt;
http://blogs.southworks.net/aadami&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>aadami</author><pubDate>Tue, 18 Dec 2012 12:45:19 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121218124519P</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Thanks&amp;nbsp;DCherubini,&lt;br&gt;
I have &amp;nbsp;&lt;span&gt;deleted the&amp;nbsp;&lt;/span&gt;bin&amp;nbsp;&lt;span&gt;and&amp;nbsp;&lt;/span&gt;obj&amp;nbsp;&lt;span&gt;folders of all the projects in my solution and after that rebuild the solution again.but it is the same question.I'm using vs2010 and scsf for vs2010, the webservice create by java use Axis2，and
 return entity from webservice sometimes, i don't know whether that is a question.I wan to know whether scsf
&lt;span&gt;recipe supply debug&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>relax2012</author><pubDate>Sat, 15 Dec 2012 02:34:40 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121215023440A</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Thanks&amp;nbsp;DCherubini,&lt;br&gt;
I have &amp;nbsp;&lt;span&gt;deleted the&amp;nbsp;&lt;/span&gt;bin&amp;nbsp;&lt;span&gt;and&amp;nbsp;&lt;/span&gt;obj&amp;nbsp;&lt;span&gt;folders of all the projects in my solution and after that rebuild the solution again.but it is the same question.I'm using vs2010 and scsf for vs2010, the webservice create by java use Axis2，and
 return entity from webservice sometimes, i don't know whether that is a question.I wan to know whether scsf
&lt;span&gt;recipe supply debug&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>relax2012</author><pubDate>Sat, 15 Dec 2012 02:34:40 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121215023440A</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on my understanding, after changing a &lt;strong&gt;WebService&lt;/strong&gt;, you will need to update your
&lt;strong&gt;Disconnected Service Agent&lt;/strong&gt; too, like explained in the following section of the documentation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff699263.aspx"&gt;How to: Update a Disconnected Service Agent&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I this does not help, I believe you could also try to clean your solution manually in order to ensure that your application is being re-builded again from scratch. In order to do so, you could delete the
&lt;strong&gt;bin &lt;/strong&gt;and &lt;strong&gt;obj &lt;/strong&gt;folders of all the projects in your solution and after that rebuild the solution again.&lt;/p&gt;
&lt;p&gt;I hope this helps,&lt;/p&gt;
&lt;p&gt;Damian Cherubini&lt;br&gt;
&lt;a href="http://blogs.southworks.net/dcherubini"&gt;http://blogs.southworks.net/dcherubini&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>DCherubini</author><pubDate>Tue, 11 Dec 2012 20:20:25 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121211082025P</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on my understanding, after changing a &lt;strong&gt;WebService&lt;/strong&gt;, you will need to update your
&lt;strong&gt;Disconnected Service Agent&lt;/strong&gt; too, like explained in the following section of the documentation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff699263.aspx"&gt;How to: Update a Disconnected Service Agent&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I this does not help, I believe you could also try to clean your solution manually in order to ensure that your application is being re-builded again from scratch. In order to do so, you could delete the
&lt;strong&gt;bin &lt;/strong&gt;and &lt;strong&gt;obj &lt;/strong&gt;folders of all the projects in your solution and after that rebuild the solution again.&lt;/p&gt;
&lt;p&gt;I hope this helps,&lt;/p&gt;
&lt;p&gt;Damian Cherubini&lt;br&gt;
&lt;a href="http://blogs.southworks.net/dcherubini"&gt;http://blogs.southworks.net/dcherubini&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>DCherubini</author><pubDate>Tue, 11 Dec 2012 20:20:25 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121211082025P</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created a&amp;nbsp;disconnected service agent ,but after I update my webservice and build the solution,the wizard of&amp;nbsp;recipe can not show &amp;quot;Type&amp;quot; and &amp;quot;Solutin Preview&amp;quot; when I update&amp;nbsp;disconnected service agent ,and&amp;nbsp;show
 “in order to run this recipe,you solution must compile, please build your solution and try again”,but I have built.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any idea on how to fix this?&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>relax2012</author><pubDate>Mon, 10 Dec 2012 21:09:34 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121210090934P</guid></item><item><title>New Post: Cannot update disconnected service agent </title><link>http://smartclient.codeplex.com/discussions/406309</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created a&amp;nbsp;disconnected service agent ,but after I update my webservice and build the solution,the wizard of&amp;nbsp;recipe can not show &amp;quot;Type&amp;quot; and &amp;quot;Solutin Preview&amp;quot; when I update&amp;nbsp;disconnected service agent ,and&amp;nbsp;show
 “in order to run this recipe,you solution must compile, please build your solution and try again”,but I have built.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any idea on how to fix this?&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>relax2012</author><pubDate>Mon, 10 Dec 2012 21:09:34 GMT</pubDate><guid isPermaLink="false">New Post: Cannot update disconnected service agent  20121210090934P</guid></item><item><title>New Post: LoadingPanel</title><link>http://smartclient.codeplex.com/discussions/403750</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm currently working on a project using many different views, that derive from CabXtraUserControl. As some of the calculations need more than a few seconds, I need to implement a DXperience Loading Panel that shoult pop up everytime, the active view is
 switched. I would like to know, if anyone knows a possibility to implement it using the CabXtraUserControl Base class to provide this instead of creating a new event listener for every view that is implemented yet or will be implemented in the future.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;/div&gt;</description><author>hellbernhard</author><pubDate>Mon, 19 Nov 2012 07:57:35 GMT</pubDate><guid isPermaLink="false">New Post: LoadingPanel 20121119075735A</guid></item><item><title>New Post: LoadingPanel</title><link>http://smartclient.codeplex.com/discussions/403750</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm currently working on a project using many different views, that derive from CabXtraUserControl. As some of the calculations need more than a few seconds, I need to implement a DXperience Loading Panel that shoult pop up everytime, the active view is
 switched. I would like to know, if anyone knows a possibility to implement it using the CabXtraUserControl Base class to provide this instead of creating a new event listener for every view that is implemented yet or will be implemented in the future.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;/div&gt;</description><author>hellbernhard</author><pubDate>Mon, 19 Nov 2012 07:57:35 GMT</pubDate><guid isPermaLink="false">New Post: LoadingPanel 20121119075735A</guid></item></channel></rss>