What do I need to do to get this working with VS2010 Beta 2?

Dec 15, 2009 at 9:13 PM

I'm using Visual Studio 2010 Beta 2.  Does anyone have any advice on how to get this control installed in this version?  Looks like exactly the control I've been looking for.

Dec 19, 2009 at 9:52 PM
Edited Dec 19, 2009 at 10:53 PM

The problem here is Toolbox Control Installer is not available under Visual Studio 2010. I've tried compiling it under Visual Studio 2010 set to .NET 4.0 under x86 but get this error when I try to add it to the toolbox:

"Could not load file or assembly 'AvalonDock, Version=1.2.2691.0, Culture=neutral, PublicKeyToken=85a1e0ada7ec13e4' or one of its dependencies. The system cannot find the file specified."

Using the downloadable dll results in the same error but without "or one of its dependencies." I really, really want to use this control. It's the perfect solution to a dilemma I have.

Jan 5, 2010 at 8:07 PM

Just recompile the AvalonDock project in Vs2010 and change its Target framework to .Net Framework 4. The Toolbox will automatically have the AvalonDock Controls added.

Jan 5, 2010 at 9:17 PM

Thanks.  Do I just need to register something in the GAC to make the controls show up for all projects?

 

Jan 6, 2010 at 4:51 AM
Edited Jan 6, 2010 at 4:55 AM

I think this is the only way you can add Avalon to the Toolbox for now. If you wan to add the Avalon to vs2010's Toolbox in your solution, then you'll need to reference its source project in each of you solution. I think this is due to Avalon's design. Not a vs2010's issue.