Error when using the AWS Component from a .NET framework 4 project
If you create a new .NET Framework 4 Visual Studio project the reference the Sprightlysoft AWS Component, you will
see the error "Type 'SprightlysoftAWS.REST' is not defined." as shown below
This error is generated because the AWS component targets .NET Framework version
2.0. When you create a new .NET Framework 4 project the .NET Framework 4
Client Profile is targeted by default. The .NET Framework 4 Client Profile
is a subset of the full .NET Framework 4 and it only allows you to use
assemblies that target the same framework version.
To eliminate this error simply set your project to target the full .NET
Framework 4. This is done by going to your project's properties, click on
the Compile tab, and then click the Advanced Compile Options button. From here
select .NET Framework 4 as the target framework.
The next time you runt your application it will compile without an error.
For more information regarding the .NET Framework Client Profile see