How to use the Npgsql reference for framework versions smaller than 4.5?

Asked

Viewed 116 times

1

Well, I made an application by Visual Studio 2015, in Windows 7. However, the application will be used in the future, also in Windows XP. The problem is that there is a reference "Npgsql.Entityframework", which requires a version of Netframework greater than or equal to 4.5, which is not accepted by Windows XP, someone would have a suggestion of how to solve such a problem?

1 answer

0


  • So I put this code, but it stayed the same.

  • The application is written in which version of framework .NET?

  • When I did, I was in the last available version(4.6.1), however, when I switched to 4, the error appears saying that Npgsql is of a larger version(4.5+) than the target framework (4).

  • Yes, then you have to uninstall this current version of Npgsql and put the 2.2.7.

  • 1

    Did it work out friend? Thank you very much, I ended up moving only today and it worked, was just downloading version 2.2.7 of Npgsql for NET 4.0, as you said. Thank you very much!

  • @Jerrymoon See here how the site works. I thank you for.

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.