首页 新闻 会员 周边

.net core 加载不了 System.Data.DataSetExtensions

0
[已解决问题] 解决于 2017-12-28 11:22

System.BadImageFormatException:“Could not load file or assembly 'System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Reference assemblies should not be loaded for execution.  They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)”

问题补充:

Microsoft.Windows.Compatibility  

 

https://www.hanselman.com/blog/WritingSmarterCrossplatformNETCoreAppsWithTheAPIAnalyzerAndWindowsCompatibilityPack.aspx

程序员编程日记的主页 程序员编程日记 | 初学一级 | 园豆:6
提问于:2017-12-13 08:49
< >
分享
最佳答案
0

System.Data.DataSetExtensions不是Net Standard 2.0的一部分,.net core不支持,详见 What is the plan for System.Data.DataSetExtensions?

奖励园豆:5
dudu | 高人七级 |园豆:31007 | 2017-12-13 10:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册