C# wpf问题,win7上运行没有界面,win10上启动正常

[复制链接]
查看11 | 回复2 | 2021-1-27 06:27:19 | 显示全部楼层 |阅读模式
报错:ERRORError-在System.Windows.Markup.WpfXamlLoader.Load(XamlReaderxamlReader,IXamlObjectWriterFactorywriterFactory,BooleanskipJournaledProperties,ObjectrootObject,XamlObjectWriterSettingssettings,UribaseUri)
在System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReaderxamlReader,BooleanskipJournaledProperties,ObjectrootObject,XamlAccessLevelaccessLevel,UribaseUri)
在System.Windows.Markup.XamlReader.LoadBaml(Streamstream,ParserContextparserContext,Objectparent,BooleancloseStream)
在System.Windows.Application.LoadBamlStreamWithSyncInfo(Streamstream,ParserContextpc)
在System.Windows.Application.LoadComponent(UriresourceLocator,BooleanbSkipJournaledProperties)
在System.Windows.Application.DoStartup()
在System.Windows.Application.b__1_0(Objectunused)
在System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegatecallback,Objectargs,Int32numArgs)
在System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Objectsource,Delegatecallback,Objectargs,Int32numArgs,DelegatecatchHandler)
win7上运行会报以上错误,看后台是有进程的,但是没有界面出来,.netframework各种版本都装过了在win10上面运行没有问题,求助

分 -->
回复

使用道具 举报

千问 | 2021-1-27 06:27:19 | 显示全部楼层
https://bbs.csdn.net/topics/394600617
你们一样的问题
回复

使用道具 举报

千问 | 2021-1-27 06:27:19 | 显示全部楼层
让其不能再低版本上运行,是微软强制更新的策略
但是也有可能缺少依赖包nuget里面的东西等或者其他
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行