When creating a new project in Visual Studio 2010, and adding edtFTPnetPRO.dll, you get the following warning:
The referenced assembly "edtFTPnetPRO, Version=8.x.x.x, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
By default most applications are created with the project's "Target framework" property set to ".NET Framework Client Profile". This profile does not include System.Design, which edtFTPnetPRO uses.
The fix is to change the "Target framework" property to ".NET Framework 4". Brief instructions for doing this in VS 2010 are included below; more detailed instructions may be found here.
Note that in Visual Studio, you can select the target framework when you create the application, but this is not possible in Express Editions of Visual Studio. However, you can later retarget the project to any installed .NET Framework version (below).
Changing Target Framework for a C# project in Visual Studio 2010
- Open project properties
- Select the 'Application' tab
- Click on the dropdown under 'Target framework'
- Select one of the frameworks that isn't a 'Client profile'
Changing Target Framework for a VB project in Visual Studio 2010
- Open project properties
- Select the 'Compile' tab
- Scroll down to the bottom
- Click the 'Advanced compile options' button
- Click on the dropdown under 'Target framework'
- Select one of the frameworks that isn't a 'Client profile'