Skip to content

DDEX VSIX redo #1407

Closed
Closed

Description

@roji

I'm completing a significant redo of the Npgsql Visual Studio DDEX provider. Key features are:

  • Modern, standard VSIX architecture with a vsixmanifest.
  • Completely standard, self-contained VSIX installation - no GAC installation, no machines.config tweaks.
    • Much better experience installation experience
    • List the Npgsql VSIX in the Visual Studio gallery
    • Eliminate lots of issues people had with an incorrect/mismatched GAC installation.
    • This can be done by including Npgsql.dll in the VSIX, and by programmatically adding Npgsql's provider factory as described here.
  • Support for VS 2017, with manifest V3 and the light-weight installation.
  • Customized UI control for connecting to PostgreSQL, just like SQL Server and Oracle have. No need to go into the property grid with all the possible parameters, just enter the basic (host, database, user, password).
  • Clean up the advanced, property grid-based panel where all the connection string options are shown (i.e. remove stuff that shouldn't be there), plus some other VS tweaks.
  • Extension should simply build with the VS SDK (or with the Microsoft.VSSDK.BuildTools nuget). No longer include any VS build tools in the Npgsql repository.
  • Target multiple modern versions of VS (2015, 2017) without any extra work (simply listing them in the vsixmanifest)
  • Evolve the Server Explorer view (view by type or by schema, etc.)
  • Automatically version the VSIX with Npgsql, and build the VSIX on the build server. This will eliminate the manual work previously needed to release new versions.
  • Resolve various issues (e.g. parameter placeholders weren't defined so inserting data was impossible)

@kenjiuno - you'll probably be interested in all this.

Activity

  1. added this to the 3.2 milestone on Jan 20, 2017
  2. self-assigned this
    on Jan 20, 2017
  3. changed the title [-]VSIX redo[/-] [+]DDEX VSIX redo[/+] on Jan 20, 2017
  4. kenjiuno commented on Jan 21, 2017

    @kenjiuno
    Contributor

    Thanks roji, I'll catch up soon!

  5. deepakjindal4u commented on Aug 21, 2017

    @deepakjindal4u

    @roji i am seeking your urgent help here.. i followed all instruction mentioned below but am getting # View pg_type issue.. Could you please guide me what i can try to resolve this issue...

    If a new data connection is added directly to the Server Explorer (not via "EF Designer from database"), and then selected when adding the EF model, everything seems to work fine. @Jasin2069 it would be great if you could confirm you're seeing the same thing.

  6. deepakjindal4u commented on Aug 21, 2017

    @deepakjindal4u

    npgsql issue

  7. deepakjindal4u commented on Aug 21, 2017

    @deepakjindal4u

    Can someone please help here on above issue.. Am facing this issue from a long time and performed all steps mentioned by @roji in previous articals...

  8. roji commented on Nov 18, 2018

    @roji
    MemberAuthor

    @deepakjindal4u I happened to stumble on your comments, which haven't received any attention. This is probably too old to be of any help, but if you're getting View 'pg_type' not found, then you're probably either:

    1. Running on a PostgreSQL-compatible database that isn't really PostgreSQL (e.g. CrateDB, Denodo), or
    2. Running on a severely restricted PostgreSQL instance, where you have no rights to read from this table (or similar).

    Upon first connection, Npgsql reads from this table to know which data types are present in the database - so this is necessary. There are workarounds in case that isn't possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions