-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing EF tools on WPF 4.5.2 project add references to AspNetCore.Hosting & AspNetCore.Http #7835
Comments
I think it is a well known issue, workaround it by installing the Tools in a separate (scratch) project. |
This is by design since we can't differentiate between an ASP.NET Core project targeting .NET Framework and all other .NET Framework projects at the NuGet package level. This is mitigated by us marking our package as a |
@bricelam Hum, in my packages.config, this dependency are not marked as developmentDependency. See here : Can I mark them by myslef directly with no incidence ? |
@cdie NuGet version? |
That's a limitation of But, from an EF perspective, we've done everything we can so that NuGet clients could do the right thing...
Yes. |
FYI, these may be going away in 2.0.0. (See #8326) |
I've installed EF Core tools 1.1.0 on a WPF application, and after installation, I've 4 references to AspNetCore.
Is that mandatory ? It looks like installing some Asp thing within a WPF app, feels bad...
Further technical details
EF Core version: 1.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Win 10
IDE: VS 2017
The text was updated successfully, but these errors were encountered: