WPF, 'Object reference not set to an instance of an object' in Designer

后端 未结 8 2270
一个人的身影
一个人的身影 2020-12-01 08:58

I\'m getting an \"Object reference not set to an instance of an object\" error when I try to reload the Designer for my XAML UserControl. Visual Studio highlig

8条回答
  •  青春惊慌失措
    2020-12-01 09:57

    I was able to solve the problem after giving a name to an object. It is VS2015, and my markup is different, but it could help somebody too:

    
        
            
        
    
    

提交回复
热议问题