Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best practice to resolve the URI error

Tags:

uri

wpf

I have a main project (ProjectA) that contain a base class (xaml + code-behind).
Also, I have another project (ProjectB) in reference with ProjectA. In that last project I have inherits some user-control created in ProjectA.

When launching the main application, I receive the follow error:

The component 'XXX' does not have a resource identified by the URI  
'/My.Assembly;component/.../simplegridview.xaml'

Is there a best way to resolve that problem?

like image 257
Alberto Avatar asked Nov 03 '22 17:11

Alberto


1 Answers

I know it is not really a solution to the problem. But I have found that Clean and Build makes the error go away...

like image 112
aliceraunsbaek Avatar answered Nov 11 '22 18:11

aliceraunsbaek