Skip to content

Explicit nuget package reference required for derived class #188

Answered by batzen
redstripes89 asked this question in Q&A
Discussion options

You must be logged in to vote

@redstripes89 I could reproduce your issue using your repro.

After some pocking i added <RestoreProjectStyle>PackageReference</RestoreProjectStyle> to both projects, which resolved the MC1000 error. So this seems kind of related to the "old" csproj format.
Afterwards i still got compile errors because the namespace for your "App" project was "App" and the main application class was also named "App" this confused the compiler and it complained about being unable to find the class "App.App".
After changing the namespace to "MyApp" and replacing it's usages everything compiles fine.

So it's not an ControlzEx issue. ;-)

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by redstripes89
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants