Visual Studio 2010

Topics related to the Krypton Toolkit.

Moderators: Phil Wright, Chris Porter

Visual Studio 2010

Postby Harlem9191 » Fri Apr 16, 2010 2:53 am

Could not load file or assembly 'ComponentFactory.Krypton.Toolkit, Version=4.1.4.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e' or one of its dependencies. The system cannot find the file specified.


My solution was fine in Visual Studio 2008 earlier today. However when I opened up my program in 2010 and double clicked on my main form I get the above error and the WHOLE of Visual Studio shuts down and says there was a problem. I have tried it numerous times and it just keeps closing down and trying to restart. I'm guessing if I solve the above it won't shut down. Any ideas?

EDIT: Typo's and for further information, I had toolkit version 4.1.5 installed when I tried this the first time. I then installed version 4.1.6 to see if that helped solve the problem and it didn't. Also yes I have modified the references to the correct versions and added the design dll which came along with 4.1.6. I've even added the new dll's into the global assembly cache! I'm confused :?
Harlem9191
 
Posts: 13
Joined: Fri Feb 26, 2010 8:58 am

Re: Visual Studio 2010

Postby Phil Wright » Fri Apr 16, 2010 12:14 pm

Try creating a new Windows Forms project and then adding a Krypton control to it so that the references are automatically added. Then see if that project will run without problems. Is so try restarting VS2010 and does that work? That would show if the problem is with any project that is using Krypton or if it is specific to your particular project.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: Visual Studio 2010

Postby 0x30 » Fri Apr 16, 2010 4:30 pm

I am using VS2010 and a C# Winforms Solution (.NET 4.0 Target) and I only get the following error when adding Kypton forms (not adding VisualControl based components)

The assembly reference "System.Design" could not be added to the project. This wizard will continue to run, but the resulting project may not build properly.

Compiling and running the application results in no issues.

Host OS: Windows 7 x64 Ultimate
VS Ver: VS 2010 RTM Professional x32
Krypton Ver: 4.1.6
0x30
 
Posts: 2
Joined: Sat Nov 14, 2009 9:54 pm

Re: Visual Studio 2010

Postby Harlem9191 » Sat Apr 17, 2010 12:12 am

It is only to that one form phil. Even the other forms in the project work. I'm thinking it is something to do with the Style Manager? The style manager only lies within this one form. I haven't been using the Krypton Forms but I have been using the other Krypton features in all my other forms so I don't know why i'd be getting it in this one form. Like I said I can open it up in Visual Studio 2008, which is why i'm getting confused.
Harlem9191
 
Posts: 13
Joined: Fri Feb 26, 2010 8:58 am

Re: Visual Studio 2010

Postby Harlem9191 » Sat Apr 17, 2010 12:20 am

On second thoughts, i'm almost certain now that it is to do with Angel's extended toolkit. I have the reference added but Angel's is version 4.1.4 if I remember correctly. I only have some of Angel's controls in the main form.
Harlem9191
 
Posts: 13
Joined: Fri Feb 26, 2010 8:58 am

Re: Visual Studio 2010

Postby Harlem9191 » Sat Apr 17, 2010 12:54 am

Yes I managed to sort the problem out. It was Angel's extended toolkit but I can't use them controls anymore. I can only use the ones built by Angel him/herself however when I use one's that are to do with Krypton e.g. Krypton ListView it forces an exception (same as the one in my first post) and the control won't work. Any ideas how I could get this working?
Harlem9191
 
Posts: 13
Joined: Fri Feb 26, 2010 8:58 am


Return to Krypton Toolkit

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

cron