The visual studio 2022 IDE is a 64-bit application. Perhaps you need to rebuild your user controls for 64 bits.
VS2022 Link to User Controls
I am gradually converting my VS2008 solutions to VS2022.
I have a library of user controls that included ListView and TreeView controls that show files in the File System. They work find in the original solution on a test form but I cannot link to them from a new project. It sees the control but shows a blank control surface - although the class files can be edited.
I have spent the whole morning Googling with no success, can anybody advise me why a user control in one project cannot be linked to from another project please?
They work fine if I go back to my old PC with VS2008.
2 answers
Sort by: Most helpful
-
-
Jeff Gaines 71 Reputation points
2022-07-03T21:41:58.44+00:00 RLWA32-6355 - thank you :-)
I am linking to the source files rather than a dll. I did a parallel development on another machine in VS2008 and it worked perfectly. When I link to a user control in VS2022 it sees the code file but the control surface is blank.
I have seen no benefits to V2022 over VS2008 at all so far. The original missing bits are still missing and it has a cluttered interface with boxes popping up every time I breathe asking what I want to do next!