所谓的潇洒

导航

2020年11月11日 #

IniHelper

摘要: using System.IO; using System.Runtime.InteropServices; using System.Text; namespace MyProject { public class IniHelper { private string iniPath = stri 阅读全文

posted @ 2020-11-11 16:36 所谓的潇洒 阅读(156) 评论(0) 推荐(0)

Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies.

摘要: 原因之一:主程序和调用的组件都引用了Newtonsoft.Json.dll,且版本不一样 解决:调用的组件若是公共组件,可以考虑将用到Newtonsoft.Json的方法封装到公共组件;如果不是公共组件就引用同一个地方的dll 阅读全文

posted @ 2020-11-11 15:55 所谓的潇洒 阅读(998) 评论(0) 推荐(0)