Style TargetType causes XamlParseException when not attached to debugger

前端 未结 4 1150
灰色年华
灰色年华 2021-02-07 20:44

I have a very simple set of styles that I\'m using in a couple of different WPF applications. I have this style stored in a Xaml file in a common project, then added by merging

4条回答
  •  轮回少年
    2021-02-07 21:13

    For me what worked was a little different. I did already set the build action to 'Page', but any directories I had to remove. Example:

       
    

    would become

       
    

    Of note, I was linked files since I was sharing them with silverlight

提交回复
热议问题