2
I’m trying to install the Npgsql
to consume Postgresql data in my project , but returns me the error below:
Severity Code Description Project File Line Suppression State Error Could not install package 'Npgsql 4.1.2'. You are trying to install this package into a project that targets '. Netframework,Version=v4.5.2', 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.
I understand the mistake, but do not know how to treat. Researching on the internet I saw something related to Multi-targeting but I didn’t understand very well how to adapt in my project and/or if this is "safe" in making.