编译的时候时常会出现这个错误,打开相应的位置,注释掉这条usingMicrosoft.Windows.Themes;语句后就不会有任何错误,可以正常运行,但是调试几次后又...
编译的时候时常会出现这个错误,打开相应的位置,注释掉这条using Microsoft.Windows.Themes;语句后就不会有任何错误,可以正常运行,但是调试几次后又会出现相同问题,已经手动加//加了好几次了,貌似这个using会自动生成。。。
请问这是什么情况?怎么解决呢?
默认是引用这些命名空间,没有Thems那一项
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;