更新时间:2023-11-22 10:03:58
在Visual Studio中选择在Solution Explorer中引用然后在属性确保特定版本
属性设置为假
。
in visual studio select the reference in the solution explorer then in the properties make sure the Specific Version
property is set to false
.
如果您对本参考中的的web.config
,编辑文件和删除的版本信息的入口。
If you have an entry for this reference in the web.config
, edit the file and remove the version information.
如果您关闭Visual Studio并用文本编辑器打开该项目文件,确保在项目文件中的程序集的版本没有列出,但只有名称和类型,所以才删除以下内容:
if you close visual studio and open the project file with a text editor, make sure in the project file the version of the assembly is not listed but only the name and type, so just remove the following:
, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
那么就应该使用类和方法可在这两个工作,不管你使用的是6.5.5或6.5.4,只要code。
then it should work no matter if you are using the 6.5.5 or 6.5.4, as long as the code is using classes and methods available in both.