Skip to content
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

Give helpful error message for SDK style projects #31

Open
ryanbrandenburg opened this issue Jul 11, 2022 · 2 comments
Open

Give helpful error message for SDK style projects #31

ryanbrandenburg opened this issue Jul 11, 2022 · 2 comments

Comments

@ryanbrandenburg
Copy link
Contributor

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).

@ErikEJ
Copy link

ErikEJ commented Jul 11, 2022

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
Copy link

ErikEJ commented Dec 23, 2022

Actually, why not just not display the templates?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants