Got an error when I compile project with OpenNetCF
I need to work on old project that use OpenNetCF round buttons
I reference all the OpenNetCF dll to the project.
I have 2 problems:
I can't see the round button on the forms
when I compiled I see this error:
Could not find type 'MyControl.Controls.RoundPictureButton'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the pro开发者_JAVA技巧ject has been successfully built.
The error says 'MyControl.Controls.RoundPictureButton' Note the bolded portion there. The namespace is not from OpenNETCF (OpenNETCF doesn't have a RoundPictureButton that I recall), it's a control from some other assembly or location and the compiler is unable to locate it. You need to either add a reference to the assembly that contains that control or you need to add the source file that defines it.
Maybe something changed on your solution configuration, so it's possible that you have missed some project to be added on the solution, or just have been moved some day and deleted from the solution by mistake.
See you.
精彩评论