-
Notifications
You must be signed in to change notification settings - Fork 60
Unable to open diagram editor in VS2019 (new .csproj format) #66
Comments
1.2.7 pre-release is in the releases and takes care of many of the VS2019 issues. However, it doesn't fix the issue that the Modeling SDK (which this tool is based on) has with .NET Core and .NET Standard projects -- the one where it complains about the DynamicTypeBrowseObject. You can, however, install 1.2.7 in VS 2017 and it runs fine with all project types. I'm working to see if I can work around the problems but, if not, it'll be up to the Modeling SDK folks to get this working again. |
I have started to experience a problem with Modeling SDK on VS2017 recently :( The error message looks like this:
|
After I explicitly installed Modeling SDK in VS2017 the error is dissapear. So it seems the recent version of EFDesigner actually requires Modeling SDK to function properly :) P.S. I also noticed on VS2019 there is no "EFDesigner" item under "Data" section in "Add New Item" dialog (Class Library project with NET Core 2.1 SDK). |
Can you please check if Thanks. |
I checked and it's not. Also I checked this earlier when I was looking for the cause of the problem. Next I downloaded VSIX file from here (release 1.2.7.1) and decompressed it using 7zip. I found there Now (after I installed the SDK)
|
I'm going to have to dig into this. I have a computer that's never had the SDK installed, and the extension is working quite well there. My teammates' computers work as well (without the SDK). Curiouser and curiouser. |
It's strange. Anyway, everything is working now, so I don’t find it critical :) |
Hi @msawczyn , thank you so much for this extension. Would you appreciate your thoughts? Thanks, |
I downloaded VS 2019 V16.2 Preview 3 where this problem was listed as fixed. Confirming that the designer opens and works as expected. |
@michaelpear - Thanks for the confirmation! I haven't been able to afford the time or space for a side-by-side multi-gig installation (since I have two of them already :-) ). |
@IoTFier - there's no difference between the VS2017 and VS2019 |
I can't seem to be able to draw association or inheritance lines between entities anymore with 2019 16.2 v4. |
I'll see if I can get the preview installed somewhere and have a look. |
@rlarik - I've confirmed your observation above. I'll run it through the debugger later today and, if the problem is deep, have to put in another issue with the IDE team. I'm taking the 'fixed' tag off this. The inability to draw lines between entities extends to the old-style project types as well. Seems the initial problem is fixed, but overall it's broken worse now. |
@IoTFier That's unfortunate. The connector problem is there in 16.2. Updating to that version will break the modeling tool. |
@msawczyn - what's our way out now ? I have been so eagerly waiting ..... |
@IoTFier - looks like we're going to have to wait for Microsoft to get a fix in. It's in triage, and I'm guessing this one will get attention fairly quickly. As well, I'm going to see if I can determine exactly why this is happening and see if I can't put in a workaround. It smells like a drag/drop problem so, depending on where the problem is, I may or may not be able to do anything about it as the extension level. |
@msawczyn - my deepest thanks for your help and support to all of us. |
@IoTFier - are you able to draw associations between entities in any 16.2.x version of Visual Studio? I just tried 16.2.2 and still no go. Although the same compiled extension works fine in 16.1.x and earlier. |
@msawczyn - I can't draw association between newly dropped entities. But it does show those associations for entities that are created from existing POCO. I am trying db first approach. I am really sorry for not getting my response in time. |
Closing since this has been fixed in Visual Studio 2019 v16.2.5 |
I cannot get the editor to work on VS 2019, I just get the following error.
I downloaded the latest VSIX from the 2019 branch (dated 4/15/2019, version 1.2.6.25, using Visual Studio Community 2019 - version 16.0.1. It works fine in Visual Studio 2017.
I also downloaded the source, but I'm getting a bunch of errors (same in VS2017 and VS2019). When I open the project, VS does a migration which leads me to believe this was compiled on an earlier version. Even if I manage to get past those, I get a whole new set of runtime errors (NullReferenceException for the most part), so there must be something in the source code that is not up to date.
The source code errors I get with a filename variable in DSL SerialHelper.cs (the variable is used in a method call, but not declared anywhere), then I get errors from the T4 generated code - it seems to add whitespace/newline before the XML declaration for some of the XML files (which the XML parser does not accept).
Edit: I found the document on the bug in SerialHelper.tt. Still having problems getting this to work on VS2019 though.
The text was updated successfully, but these errors were encountered: