-
Notifications
You must be signed in to change notification settings - Fork 258
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
[VS2017RC3] EntityFramework - No app.config created when using "packageReference" iso packages.config #4876
Comments
From the referenced issued it sounds like this was previously using install.ps1. This is is no longer used since it requires visual studio to perform the commands, however with PackageReference uninstall/install could occur during a restore from the command line outside of visual studio. @ErikEJ do you know what settings are needed in app.config to make this work? |
@emgarten Yes, the package was using install.ps1 - you can install the package in a class library to see what happens to app.config, basically this:
|
Thanks for pasting it. It looks like the package will need to find a different way to configure itself that works from the command line and cross platform. I suggest working around it by adding this App.config in yourself. |
OK - that is understood - I just notice that you have now "broken" the second most downloaded NuGet package of all time "by design" |
Thanks for reporting this. We are internally discussing how to best support the ecosystem. This general problem, and the steps the NuGet team needs to drive, are explained here: #4942 |
File, New Project, Console Appliation, Target .NET 4.0, add EntityFramework package, use PackageReference,
Result: app.config file with EF settings created
Actual: no app.config file at all... Causing EF to fail completely
Reported here: dotnet/ef6#189
The text was updated successfully, but these errors were encountered: