Why does such an error occur?

enter image description here

At the same time, the project is normally assembled, but when launched, it falls with an error ...

  • one
    Apparently the search comes from the place where the compiled source is located, i.e. in the bin / debug folders. Try to replace the line with ../Style/Style.xaml - Trymount
  • Yes! really helped, thank you so much! - ZFi
  • @Trymount issue as an answer, please. - andreycha

1 answer 1

Apparently the search comes from the place where the compiled source is located, i.e. in the bin / debug folders. Try replacing the string with ../Style/Style.xaml