ColorPicker
ColorPicker copied to clipboard
Can't get Visual Studio 2022 to recognize ColorPicker's dependencies. What am I doing wrong?
Errors:
I just followed the instructions on the main page. Am I missing something stupid? Apologies, I am relatively new to C#.
Edit:
Somehow I got past the above errors by restarting Visual Studio, but now It's telling me that it can't find the assembly. It's definitely imported and it exists in the path VS is expecting it to be at:
After this, I tried opening the demo solution and still run into the same issue.
XDG0008 The name "StandardColorPicker" does not exist in the namespace "clr-namespace:ColorPicker;assembly=ColorPicker".
Any help at all would be greatly appreciated
.
Overall this seems pretty strange. The error on the first screenshot are not unusual, but they should disappear after you build the project. I can't tell what went wrong on the second screenshot. Normally the dll should be copied into the build directory (next to the exe) automatically and loaded from there on launch.
Looking at the third screenshot, the file structure in the solution explorer looks quite strange. Did you manually copy the demo project folder into your own project? To run the demo project as intended you should download the whole repository as a zip, unpack it somewhere, open ColorPickerDemo\ColorPickerDemo.sln
, and launch it. It might ask you to download additional SDKs as you'll be building everything from scratch.
Closing due to inactivity