Click here to Skip to main content
15,905,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
First, thank you all the members of this community for being willing to help each other.
I recently downloaded this "CloudToolkit" for my VB.NET (VB 2010) UI. I have successfully added its reference and added the controls to the Tool Box. Then, I tried experimenting with a new Button, but when I save, I get the error message

"Error 2 Type 'CloudToolkitN6.W7Button' is not defined."

I understand from the error message that it wants me to define it. But just how do I do this? Will someone shed some light to me on this? How do make sure that it works in my development machine and also when I deploy the application to other computers?

Thanks again!
Posted

1 solution

If you are developing for .NET 4 in VS2010, you may have inadvertantly selected to use the .NET 4.0 Client Profile while the Cloud Toolkit targets the .NET 4.0 Full Framework.

In order to change it, open up your Properties page under your solution and select the Application tab. Make sure the Target Framework says .NET Framework 4, and not .NET Framework 4 Client Profile.

This is a frustrating error because it looks like everything works in the designer but only shows itself when you save or build.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900