-
Notifications
You must be signed in to change notification settings - Fork 545
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
EF 6.3.0 PMC commands throw ParameterBindingValidationException
when Startup Project is a Web App
#1290
Comments
Can confirm that I have the same issue with the same scenario |
@Psypher9 Please feel free to submit a PR |
@bricelam, on it! 😃 |
FYI, this fix is included in our daily builds (see link for setup instructions). Feel free to start using it today via the version 6.4.0-preview1-* prerelease packages. |
@bricelam Is there a due date when this fix is released in a stable version. (6.4.0 or 6.3.1) I cannot bring a daily build to production 😄 |
As Scott Hunter said during dotNETConf: "Late November, early December" |
You only need this for designtime, not runtime?? |
True. WorkaroundYou could install the daily build into a dummy project just so the Update-Database command works |
@bricelam Not to put too fine a point on it, but I'm disappointed by the lack of urgency. It's a blocking issue for what I'm sure is a very common use case and it's already been fixed. The real flood of developers encountering this issue is imminent; not everyone will do the due diligence of testing migrations before committing themselves to this version, leaving them stuck when they encounter the error. That I bothered to test it before committing to it was due to paranoia. But is it really paranoia if it doesn't actually work? This has been a long-awaited release for my team. We inherited an application that uses the
I'll admit that I'm not making the connection on how the dummy project would do the job. Maybe some more details on that would help. How would that work? Would it involve a project that has to be added to the repo? I don't understand how having the corrected script in a preview version of the package would affect the 6.3 package. Meanwhile, we're still on Please forgive my impatience but this is such a small and |
The issue is fixed in the daily builds. Our team is not in control of the ship dates. These are determined at a much higher level and are usually tied to Visual Studio releases.
The Package Manager Commands are loaded into the Visual Studio process. Only the highest version is loaded. If you added a new dummy console app to the solution and installed the daily build of the EntityFramework into it, that version of the commands which includes the fix would be used. The commands would work just fine with projects referencing EF 6.3. |
Can you guys ship this as 6.3.1? just this one bug fix as a hot patch?? |
@oliverjanik This will be in a patch, but unfortunately there is a lengthy process for patches which means it usually takes a long time from when the fix is made until when it can be shipped. You can get the fix sooner by using the daily builds of 6.4. |
Sorry, I am not risking deploying unstable version to production. But then again every version since 6.1.3 seems unstable. It seems to me your release process is broken. |
As the workaround above suggest, install it into a dummy project. This avoids actually deploying it. |
@ajcvickers do you know when 6.3.1 will be available? I would rate this bug as show stopper because without the suggested work-a-round:
|
@danm-de It will be in 6.4, released on December 3. The current 6.4 preview is the same code as will be shipped on December 3 as GA/RTM. |
@ajcvickers Thanks. 👍 |
This issue is meant to provide more light on #492 and offer a solution. I made a more detailed explanation and proposed mitigation there, but I will copy my comment here:
The text was updated successfully, but these errors were encountered: