mrahhal / Migrator.EF6

.NET Core CLI tool to enable EF6 migrations in an Asp.Net Core app.
MIT License
82 stars 15 forks source link

"Sequence contains no matching element" error when -c options specifies missing/mis-typed context #38

Closed marchy closed 7 years ago

marchy commented 7 years ago

Can we get a better error showing when mistyping the context when specifying the -c option? Something like "No such context: {context name}"

Currently it shows "Sequence contains no matching element" which can send you on quite a chase not knowing what the issue is.

mrahhal commented 7 years ago

Thanks for reporting this. Will do this in the next version.

marchy commented 7 years ago

@mrahhal Awesome stuff Mohammed. Thanks for taking care of so quickly :)

mrahhal commented 7 years ago

Will release the patch today, no worries :)

marchy commented 7 years ago

No rush Mohammed. Whenever the next release goes out – it's not a critical one.

PS: Way to release the VS 2017 support so shortly after it's launch. Really appreciated this enabling us to fully move over and start enjoying the C# 7 goodness =)