Skip to content

Upgrading version

Simon Hughes edited this page Mar 20, 2026 · 3 revisions

Upgrading Version

Steps to Upgrade

  1. Update the Visual Studio extension (via Extensions → Manage Extensions → Updates).

  2. Delete the old EF.Reverse.POCO.v3.ttinclude file from your project.

  3. Re-add the generator into the same folder:

    • Right-click project → Add New Item
    • Search for "reverse poco"
    • Use a temporary name (e.g., temp.tt)
  4. Copy your settings from your existing Database.tt into temp.tt (or compare the two files).

  5. Delete temp.tt.

  6. Save your Database.tt to trigger regeneration.

Notes

  • The EF.Reverse.POCO.v3.ttinclude file is the compiled generator. It must be replaced when upgrading — it contains the templates and generation logic.
  • Your Database.tt (settings file) is preserved across upgrades. However, new settings may be available in a new version; check Settings Reference for new options.
  • If you have customized EF.Reverse.POCO.v3.ttinclude directly, those changes will be lost. Use Custom file-based templates to persist customizations across upgrades.

Upgrading from v2 to v3

See Upgrading from v2 to v3 for specific migration instructions.

Clone this wiki locally