Open redwards510 opened 7 years ago
I ran into the same problem. Did you figure it out?
I'm guessing this is related to the library not supporting .net standard 2.0.
I had to build my own version of the package to get rid of this one. I couldn't sit and wait for @EvAlex to fix it for me :smile:
@mpartipilo you built a .net standard verison? care to share it? i couldnt get it to work!
Yes. Got it working and fixed a bug in the process.
Will share in about 30 minutes.
Michelangelo P.
On 5 Jan 2018, at 18:35, Ryan E notifications@github.com wrote:
@mpartipilo you built a .net standard verison? care to share it? i couldnt get it to work!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@redwards510 Here it is: https://github.com/mpartipilo/ef-db-diagrams
Let me know if it works out.
@mpartipilo Thanks - worked great for me!
Hi,
When I launch db-diagrams url I got:
Failed to load database model.
Response with status: 500 Internal Server Error for URL: http://localhost:64244/db-diagrams/model
When I launch db-diagrams/model url I got:
TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Metadata.DeleteBehavior' from assembly 'Microsoft.EntityFrameworkCore, Version=2.1.4.0, Culture=neutral, PublicKeyToken=
I also created application in dotnet core 2.0 and there is the same error:
TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Metadata.DeleteBehavior' from assembly 'Microsoft.EntityFrameworkCore, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
These are my packages (in dotnet core 2.0 app):
<ItemGroup>
<PackageReference Include="EntityFrameworkCore.Diagrams" Version="0.4.2" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="2.0.0" />
</ItemGroup>
Does anyone know what I'm doing wrong?
@redwards510 Here it is: https://github.com/mpartipilo/ef-db-diagrams
Let me know if it works out.
is there a prebuilt nuget package using this source?
Hello .. How do i replace this with the one i downloaded from nugget
I can't see any diagram. When I go to /db-diagram I get the following exception. It seems to have something to do with Json serialization within the project. My model seems ok, and I tried adding this configuration option to ConfigureServices() on Startup.cs
Maybe my model is somehow incorrect, but i can't figure out what the offending Entity Is. Any ideas? The exception is thrown in the Static Files middleware.