Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems making design changes if no operational internet connection; documentation does not note requirement for internet connection. #96

Open
selebi-pikwe opened this issue Feb 17, 2024 · 0 comments

Comments

@selebi-pikwe
Copy link

selebi-pikwe commented Feb 17, 2024

If there is no current internet connection:-

  • the designer does not load the model fully/correctly (no properties page is displayed for the model);
  • entities cannot be added; entity properties cannot be changed ('The given key was not present in the dictionary' error);
  • produces build error (see below).

Strangely, Enum addition/changing seems to work.

When the internet connection is restored, everything works fine again (but only after reloading VS, reloading the solution/projects and the EF model).

VS2022 17.8.7, EFDesigner 4.2.7.3, no changes to .tt files.

Build Error:
Running transformation: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Sawczyn.EFDesigner.EFModel.ModelRoot.get_NugetVersions() in D:\Code\EFDesigner2022\src\Dsl\CustomCode\Partials\ModelRoot.cs:line 529
at Sawczyn.EFDesigner.EFModel.ModelRoot.GetEntityFrameworkPackageVersionNum() in D:\Code\EFDesigner2022\src\Dsl\CustomCode\Partials\ModelRoot.cs:line 510
at Microsoft.VisualStudio.TextTemplating8B467D06333785AE07823DBF4F53B1DDAEE55C6880751ADE92C4E58D65EFF53E8D97A6019658EC8BDEDE7BA40E6AFE1E876482B38B24561B44B76237BDBA8E74.GeneratedTextTransformation.TransformText() in \Documents\GitRepos\LabSys15\LabSys15_Db_Lib\LabSys15_Db.tt:line 49 D: Code\EFDesigner2022\src\Dsl\CustomCode\Partials\ModelRoot.cs 529

@selebi-pikwe selebi-pikwe changed the title Designer has problems making design changes if no operational internet connection; documentation does not note requirement. Problems making design changes if no operational internet connection; documentation does not note requirement for internet connection. Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant