Windows Presentation Foundation(WPF)项目不支持应用程序

我刚刚在混合中创建了一个新的 WPF项目,在git上推送它,添加了mqsql驱动程序,休息服务和nfc sdk并突然混合告诉我
<Application>

不受支持.
错误导致我App.xaml完全未经编辑,看起来像这样:

<Application x:Class="desktop_client.App"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:local="clr-namespace:desktop_client"
         StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>

实际上任何标签都是如此.无论是Style,Setter,ControlTemplate,Canvas,Path.什么都不支持.
比较xaml和c#文件到我刚刚完成的另一个项目,它工作得很好,没有区别(除了命名空间和路径,自然)

我绝对傻眼了

尝试添加以下参考:

> PresentationCore
> PresentationFramework
> WindowsBase

使用项目中的ReferenceManager.以上参考文献是wpf使用的参考文献.

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...