zzzprojects / EntityFramework-Classic

Entity Framework Classic is a supported version of the latest EF6 codebase. It supports .NET Framework and .NET Core and overcomes some EF limitations by adding tons of must-haves built-in features.
https://entityframework-classic.net
Other
103 stars 27 forks source link

Problem with ASP.NET and Z.EntityFramework.Classic #19

Closed ARFV closed 5 years ago

ARFV commented 5 years ago

Hi, the code generator for views in ASP.NET-MVC checks if EntityFramework is present.

addview

noentityframework

zentityeigenschaften

What can i do to solve this problem?

JonathanMagnan commented 5 years ago

Hello @ARFV ,

Thank you for reporting, we will look at it but I'm not sure something could be done here.

The Wizard expect to find an Entity Framework version, However, EF Classic is not a supported version for this Wizard.

We will investigate it and let you know.

Best Regards,

Jonathan

ARFV commented 5 years ago

My idea is to create a fake EntityFramework dll without content to fool VS.

JonathanMagnan commented 5 years ago

Hello @ARFV ,

The problem with the fake EntityFramework dll is that it will not be strongly named and the Wizard uses some methods of this dll.

We looked a little bit at it and I do not believe unfortunately we will be able to support it. Perharp we will try again later.

However, that doesn't remove you the ability to use this wizard, only the Data context class part doesn't work with our library.

Let me know if that answer correctly to this issue.

Best Regards,

Jonathan

JonathanMagnan commented 5 years ago

Hello @ARFV ,

I will close this request since I don't believe anything will be done in a short-term plan about it.

Best Regards,

Jonathan