ColorPicker icon indicating copy to clipboard operation
ColorPicker copied to clipboard

Can't get Visual Studio 2022 to recognize ColorPicker's dependencies. What am I doing wrong?

Open futuremotiondev opened this issue 2 years ago • 1 comments

Errors:

devenv_SJ9L5zjBVq

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:

devenv_3yt4pASWXY

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".

devenv_GqzJ2jo3ds

Any help at all would be greatly appreciated

.

futuremotiondev avatar Jun 27 '22 07:06 futuremotiondev

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.

Equbuxu avatar Jun 27 '22 14:06 Equbuxu

Closing due to inactivity

flabbet avatar Dec 20 '23 22:12 flabbet