enterprisedt.com Forum Index CompleteFTP
RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
The referenced assembly edtFTPnetPRO could not be resolved
Author Message
Reply with quote
Post The referenced assembly edtFTPnetPRO could not be resolved 
When creating a new project in Visual Studio 2010, and adding edtFTPnetPRO.dll, you get the following warning:
Code:
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

  1. Open project properties
  2. Select the 'Application' tab
  3. Click on the dropdown under 'Target framework'
  4. Select one of the frameworks that isn't a 'Client profile'


Changing Target Framework for a VB project in Visual Studio 2010

  1. Open project properties
  2. Select the 'Compile' tab
  3. Scroll down to the bottom
  4. Click the 'Advanced compile options' button
  5. Click on the dropdown under 'Target framework'
  6. Select one of the frameworks that isn't a 'Client profile'


View user's profile Send private message Visit poster's website
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum