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 noticed a bug. Here is the description. Whenever I try to save a change to a model, even just to move a table on the layout, and I try to save, I get errors displayed in the image below.
I have Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.3.3
I have EF Visual editor 4.2.1.3.
This does not happen with older versions of EF Visual Editor. I tried with 4.2.0. all is OK, friend of mine has 4.2.1.0. all OK also.
Can you please investigate what is happening?
One more question is the following: on the official page of the product migration from 2019 to 2022 is described like this:
Migrating from VS2019 You'll have to change a line in your model's .tt file to accommodate how Visual Studio 2022 handles library imports in text templates.
Change line 5, which reads
#><#@ assembly name="EnvDTE"
to be
#><#@ assembly name="Microsoft.VisualStudio.Interop"
However, I didn't change this line in any model and all works OK. I mean, worked OK until the tool update. Should I anyway change the models or not?
The text was updated successfully, but these errors were encountered:
For a temporary fix, look in the .tt file in your project. Lines 8-10 likely read
#><#@ include file="EFDesigner.ttinclude" once="true"
#><#@ include file="EF6Designer.ttinclude" once="true"
#><#@ include file="EFCoreDesigner.ttinclude" once="true"
Remove those to get rid of that error. This will be fixed in the next release.
However, I didn't change this line in any model and all works OK.
It's ok to leave it be. Something in your environment or project is allowing that to work, and that's ok. It won't be true for the majority of the people ... you're one of the lucky ones.
msawczyn
added
released
Issue is resolved in a current release
and removed
pending release
Issue is resolved in the current codebase, will be published with the next release
labels
Mar 30, 2023
Hi,
I noticed a bug. Here is the description. Whenever I try to save a change to a model, even just to move a table on the layout, and I try to save, I get errors displayed in the image below.
I have Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.3.3
I have EF Visual editor 4.2.1.3.
This does not happen with older versions of EF Visual Editor. I tried with 4.2.0. all is OK, friend of mine has 4.2.1.0. all OK also.
Can you please investigate what is happening?
One more question is the following: on the official page of the product migration from 2019 to 2022 is described like this:
However, I didn't change this line in any model and all works OK. I mean, worked OK until the tool update. Should I anyway change the models or not?
The text was updated successfully, but these errors were encountered: