Strange issue with Layout module

Topics: CAB & Smart Client Software Factory
May 7, 2007 at 8:40 PM

I have a strange issue with a very simple sample I'm trying to implement.

I created a new smart client application using Drop 10 and tick off that I want to seporate a layout to a dedicated module. So I got here additional Infrastructure.Layout module and the entire solution compiles and works well - that's ok. Then I added one more Workspace to ShellLayoutView (actually it's OutlookBarWorkspace from CAB Extensions published on Codeplex recently). I gave it a name using WorkspaceNames in Infrastructure.Interface.

After that I have ModuleLoadException on loading when I run this sample -
"Failed to load module from assembly Infrastructure.Layout.dll
Error was: Value cannot be null, Parameter name: id"

I didn't make any change to profile xml.

Finally I've tried the same thing from scratch again creating the new solution but just without Layout module. I added the third workspace to ShellForm and in this case the sample works well.

Leonid Shirmanov