winforms clr/c++ usercontrol issue
Hello everyone,
I'm facing a tricky problem while developing an application in C++/CLR with WinForms in Visual Studio. When I try to display a UserControl in design view, I encounter the following error:
MyUserControl.h :
3 Replies
(default code generated by clr)
I can send more code if it's needed
The data needed to complete this operation is not yet available. (Exception from HRESULT: 0x8000000A)
This error appears to be related to the generation of the DOM code in the visual design process. I have tried several solutions, such as repairing Visual Studio, checking references, disabling automatic code generation, but the problem persists.
Can someone help me to fix it ? I'm a beginner
Thank you in advance for your assistance.
Why are you using C++/CLI for this?
Humm... idk 😂 Is C# better for winforms ?