Undefined CLR namespace

前端 未结 10 1164
萌比男神i
萌比男神i 2020-12-18 23:18

I have the following:

\"Error!

The error says The \'clr-namespace\' URI refers to a na

10条回答
  •  清歌不尽
    2020-12-18 23:45

    Assuming your ViewModel folder isn't empty (or there actually is a type with BlooblieBlablie.ViewModel as its namespace), and BlooblieBlablie is the assembly name, the following should work:

    xmlns:vm="clr-namespace:BlooblieBlablie.ViewModel;assembly=BlooblieBlablie"
    

提交回复
热议问题