-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error Generating Migrations #30
Comments
Yes something is definitely wrong here. The So it's the problem of I think I can guard against this in all cases and check if there's a "Source" resource along with the "Target" resource. But I'm curious to know why the "Source" property is not returning null in your case.
Yeah I do that sometimes when I release 2 versions in close intervals. |
I checked the EF6 source, it seems it does add a "Source" resource sometimes. I'll make a fix in all cases. |
Fixed in 8204b0b, included in Thanks for reporting this! |
Wonderful, thanks! |
I noticed an error when generating migrations which caused me to be unable to run the migration generated. When I try I get this error:
I notice then, in the initial migration generated by your tools the designer file looks like this:
Then in my second migration it looks like this:
So the error is clear here, it's referencing resource manager that I am not using, removing that line and setting the IMigrationMetadata.Source to return null, as in the original migration fixed the problem. But it seems to be an error in generating it.
As an aside, in the package manager to download your package, only 1.0.4 and 1.0.6 show up. You can update project.json with 1.0.5 and it works, but it doesn't show in the package explorer UI.
The text was updated successfully, but these errors were encountered: