mthamil / EFDocumentationGenerator

A Visual Studio plugin for the Entity Framework designer which pulls MS_Description properties from a database and populates an entity model with them.
Apache License 2.0
11 stars 5 forks source link

Document summary not updating #22

Open the-o-i-am opened 4 years ago

the-o-i-am commented 4 years ago

C# WinForms DAL project After making changes to database, I removed all entities from from the edmx and updated from model from database. Document summary not updated for any entity or entity field. I had a shared config source in the app config instead of a named connection string. Commented my shared config section out and added a connectionStrings section with named connectionstring. Updated model from database again. Documentation summary properties still not updating.

Deleted edmx and created a new one with all the same details, connectionstring was still in the app.config Documentation summary properties still not updating. Updated model from database Documentation summary properties still not updating.

Any ideas??

mthamil commented 4 years ago

Is there any output in the documentation generator output pane?

the-o-i-am commented 4 years ago

Apologies but I am not able to find the output pane you refer to Looked through all the view - other windows Also looked at the output pane drop down

mthamil commented 4 years ago

Hmm, what version of Visual Studio are you using?

the-o-i-am commented 4 years ago

(https://user-images.githubusercontent.com/2135354/69176210-ffa97f00-0b0d-11ea-8104-ddadd083dbc7.png)

Visual Studio Enterprise 2017 (v15.9.7)

mthamil commented 4 years ago

There may have been a regression introduced during the Visual Studio 2019 upgrade. If you uninstall the current extension and install an older release: https://github.com/mthamil/EFDocumentationGenerator/releases, for example, v2.2.0, does that work? I apologize for the inconvenience.

the-o-i-am commented 4 years ago

installed 2.2, started vs in normal mode, cleared edmx of all entities, updated model from database, documentation is now visible restarted vs in admin mode, repeated the process (clear, readd, update), documentation is NOT visible restarted vs in normal mode, repeated the process (clear, readd, update), documentation is NOT back

not able to repopulate the documentation summary, still also cannot see the documentation output pane

the-o-i-am commented 4 years ago

reinstalled 2.3, started in admin mode, repeated clear, add, update process. Documentation is now visible. Seems that it only works after reinstall so I guess it is a cached setting that is causing he issue. I also still do not see the documentation pane.

mthamil commented 4 years ago

That is pretty strange. I will have to experiment with that scenario.

the-o-i-am commented 4 years ago

no hurry, the changes has been implemented in the database, my edmx updated and the documentation is generated so I can carry on. Hope the issue can be resolved. thank you for the feedback and assistance.