You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use PostgreSQL for the first time and having a little trouble getting it to build without errors. To be sure I don't have conflicting packages, I made sure to update my project.json to RC2-*. Here's the final error that I can't seem to fix.
ERROR
Startup.cs(22,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddNpgsql' and no extension method 'AddNpgsql' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
I'm trying to use PostgreSQL for the first time and having a little trouble getting it to build without errors. To be sure I don't have conflicting packages, I made sure to update my project.json to RC2-*. Here's the final error that I can't seem to fix.
ERROR
Startup.cs(22,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddNpgsql' and no extension method 'AddNpgsql' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
PARTIAL PROJECT.JSON
PARTIAL STARTUP.CS
The text was updated successfully, but these errors were encountered: