Garen Evans Posted October 18 Report Posted October 18 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 ==========
Paul Henty Posted November 6 Report Posted November 6 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: Go to your project in the solutions explorer and double-click on the 'My Project' node. 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. Reload the project and then add the Nuget Package again. Paul
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now