0

I created a WPF UserControl in a VisualStudio project, and now want to use it within another project. I read here how can i link in xaml this, but somehow, even after rebuilding several times, the compiler stills complains about Assembly xxx not found. What am i doing wrong?

My UserControl is inside project CircularProgress directly under the root (there's no extra folder) and has the name CircularProgressControl.xaml, and my new project xaml looks uses this

xmlns:other="clr-namespace:CircularProgress;assembly=CircularProgress"
...
<other:CircularProgressControl/>

Here is a screenshot of my folders

Clemens
  • 123,504
  • 12
  • 155
  • 268
  • Add a reference to CircularProcess to the CircularProcess_Test project. – Clemens Feb 19 '20 at 07:13
  • I already did as explained in the question: `xmlns:other="clr-namespace:CircularProgress;assembly=CircularProgress"`, is it wrong or should i still do something else? –  Feb 19 '20 at 07:21
  • That's not an assembly reference. Open the context menu on the References folder of the project, then choose *Add Reference... -> Projects* – Clemens Feb 19 '20 at 07:25
  • Thanks, that was what i required... please put it as an answer so that i can grant it! –  Feb 19 '20 at 07:32

0 Answers0