IMPORTANT NOTE ABOUT THE TARGETED .NET FRAMEWORK INSIDE VISUAL STUDIO 2010
When a new application is created from scratch through the Visual Studio 2010 wizard, by default the targeted .NET framework is set to ".NET framework 4 Client Profile": this version of the .NET framework is a subset of the .NET framework 4 and one of its main limitations is the fact that you cannot reference an assembly that is not in the ".NET Framework 4 Client Profile" so, in order to be able compiling the application referencing one of our components, assuming that the project name is "MyApp", you will have to perform following steps:
| • | Select the "Project/MyApp Properties..." menu item |
| • | Inside the "Application" tab, locate the "Target framework" combobox |
| • | Set the ".NET framework 4" option in place of the ".NET framework 4 Client Profile" option |
| • | Close the properties window |
|