Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi  - I've been using 2.4 for a long time in a vb.net project, and finally decided to get move to the latest version.  I followed the instructions in the video (which was very good!), and removed my old version.  When I did the next step I got the following message.  Any ideas what I should do next?  Any help would great!

"Could not install package 'FSUIPCClientDLL 3.3.12'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

 

Full log is here:

Attempting to gather dependency information for package 'FSUIPCClientDLL.3.3.12' with respect to project 'fsACARS', targeting '.NETFramework,Version=v4.5'
Gathering dependency information took 3 ms
Attempting to resolve dependencies for package 'FSUIPCClientDLL.3.3.12' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'FSUIPCClientDLL.3.3.12'
Resolved actions to install package 'FSUIPCClientDLL.3.3.12'
Install failed. Rolling back...
Package 'FSUIPCClientDLL.3.3.12' does not exist in project 'fsACARS'
Package 'FSUIPCClientDLL.3.3.12' does not exist in folder 'C:\Users\garen\source\repos\_fsacarsV3\packages'
Executing nuget actions took 106 ms
Could not install package 'FSUIPCClientDLL 3.3.12'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Time Elapsed: 00:00:00.3323875
========== Finished ==========

 

  • 3 weeks later...
Posted

Hi.

Sorry for the delay in replying, I've only seen it today.

The newer versions of the DLL only work with .NET Framework 4.6.2 or later. As the error message shows, your project is currently using Framework 4.5 which is not compatible.

You need to upgrade the framework used by your project:

  1. Go to your project in the solutions explorer and double-click on the 'My Project' node. 
  2. In the "Application" tab, find the dropdown called "Target framework" and change it to 4.6.2 or later. You may need to install if if it's not in the list.
  3. Reload the project and then add the Nuget Package again.

image.thumb.png.f8c1268bc2a2b9e1fd436c8e5499e238.png

Paul 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.