VS2022 Link to User Controls

Jeff Gaines 71 Reputation points
2022-07-03T10:45:07.897+00:00

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.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,631 questions
{count} votes

2 answers

Sort by: Most helpful
  1. RLWA32 40,756 Reputation points
    2022-07-03T12:51:24.037+00:00

    The visual studio 2022 IDE is a 64-bit application. Perhaps you need to rebuild your user controls for 64 bits.

    0 comments No comments

  2. 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!

    0 comments No comments