Error when create dock workspace in SCSFContrib

Oct 31, 2007 at 3:51 AM
Edited Oct 31, 2007 at 5:27 AM
I try to implement a dock work space which can be used in SCSFContrib environment by use DockingLibrary from codeproject. I have finished a dockworkspace which inherit the DockManager usertcontrol which come from DockingLibrary. Everythink is OK when compile, But when I run the demo application, it throws an exception that the dockworkspace can't load URI“/DockingLibrary;component/dockmanager.xaml” resource. Following is the exception stack. Does anyone have experience in such situation?

System.Exception was unhandled
Message="组件“SCSFContrib.CompositeUI.WPF.Workspaces.DockWorkspace”不具有由 URI“/DockingLibrary;component/dockmanager.xaml”识别的资源。"
Source="PresentationFramework"
StackTrace:
在 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
在 DockingLibrary.DockManager.InitializeComponent() 位置 D:\Documents and Settings\user\My Documents\Visual Studio 2005\Projects\WPFDocking\DockingLibrary\DockingLibrary\obj\Debug\DockManager.g.cs:行号 64
在 DockingLibrary.DockManager..ctor() 位置 D:\Documents and Settings\user\My Documents\Visual Studio 2005\Projects\WPFDocking\DockingLibrary\DockingLibrary\DockManager.xaml.cs:行号 28
在 SCSFContrib.CompositeUI.WPF.Workspaces.DockManagerWorkspace`2..ctor() 位置 D:\user\donet\Smart Client Contrib 1.1\src\Extensions\WPF\WPFCAB\SCSFContrib.CompositeUI.WPF\Workspaces\DockManagerWorkspace.cs:行号 21
在 SCSFContrib.CompositeUI.WPF.Workspaces.DockWorkspace..ctor()
在 DockWorkspace.MainWindow..ctor(RootWorkItem workItem) 位置 D:\user\donet\Smart Client Contrib 1.1\Samples\WPFCAB\DockWorkspace\MainWindow.xaml.cs:行号 18
在 DockWorkspace.RootWorkItem.OnRunStarted() 位置 D:\user\donet\Smart Client Contrib 1.1\Samples\WPFCAB\DockWorkspace\RootWorkItem.cs:行号 12
在 Microsoft.Practices.CompositeUI.WorkItem.Run()
在 Microsoft.Practices.CompositeUI.CabApplication`1.Run()
在 DockWorkspace.Shell.Main() 位置 D:\beyond\donet\Smart Client Contrib 1.1\Samples\WPFCAB\DockWorkspace\Shell.cs:行号 10
在 System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
May 22, 2008 at 3:23 PM
Hi there,

I'm looking for that DockWorkspace of yours :D Were you able to make it work?

Thanks

-joel
May 22, 2008 at 3:30 PM
Edited May 22, 2008 at 4:05 PM
Nevermind, the extension does that :D

http://www.codeplex.com/cabext

;)