ef6tools icon indicating copy to clipboard operation
ef6tools copied to clipboard

Give helpful error message for SDK style projects

Open ryanbrandenburg opened this issue 3 years ago • 2 comments

Currently if you try to use the EF6 Designer on an SDK style project you will get a Null-Ref exception. This is because SDK-style projects are not supported. However, we should fail earlier and give a more helpful message. IE, show a dialog when the wizard is opened that says "SDK-Style projects are not supported in the EF6 Designer" or something to that effect. Alternatively we could try to not load the Designer options at all when in an SDK context (though I can see that leading to confusion where people think that the Designer is broken/missing as opposed to disabled).

ryanbrandenburg avatar Jul 11 '22 16:07 ryanbrandenburg

I vote for a message like: The EF6 Designer does not work with the current project type. Use a "classic" .NET Framework project type for Designer support.

ErikEJ avatar Jul 11 '22 17:07 ErikEJ

Actually, why not just not display the templates?

<AppliesTo>CSharp + (!CPS)</AppliesTo>

ErikEJ avatar Dec 23 '22 10:12 ErikEJ