Closed wout-de-jong closed 4 years ago
Is your project an SDK project?
I don't think so. I started VS and used the Solution Explorer to browse a folder with 2 .edmx files. 1 is an SAP OData v2 service, and the other a Dynamics $metadata file of 22 MB (!).
Please share the first lines of your csproj file
Erik, I don't have a csproj file. Probably the EF6 Power Tools serve a totally different purpose than my requirement to visualize / view .edmx files. Right?
No, they can do that, but need compiled code in a project in order to do it.
Not sure if I understand this prerequisite. So a "hello world" cs compilation will suffice?
No, it must include the code generated from the EDMX file
OK, so it requires a c# project. I managed this by selecting New->Create Project From Existing Code... This might be obvious, but not to me.
Anyway, I see a ..Designer.cs file. I select the .edmx and press Generate Views. I see 3 errors, see below. Can you help out?
1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.targets(86,5): error : Could not find the Conceptual Schema node to embed as a resource for input file '....edmx'.
1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.targets(86,5): error : Could not find the Storage Schema node to embed as a resource for input file '....edmx'.
1>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Data.Entity.targets(86,5): error : Could not find the Mapping node to embed as a resource for input file '....edmx'.
No, suggest you ask on Stackoverflow
Thanks for the quick replies, Erik.
Hi Erik, I'm new to VS Community 2019, but I don't see the context meny entry mentioned in the Overview when I rightclick on an .edmx file in Solution Explorer (Folder View). Can you help out a bit?