我在VisualStudio2013中有一个Web项目,包括几个库项目。问题是,将引用(即System.Collection、System.Net)添加到Web项目时,正作为“引用程序集”从C:\ProgramFiles(x86)\ReferenceAssemblies\Microsoft添加,当在IIS中加载时,它没有正确加载程序集的实现(来自GAC)。示例错误如下。[BadImageFormatException:Cannotloadareferenceassemblyforexecution.][BadImageFormatException:Couldnotloadfileor
我在VisualStudio2013中有一个Web项目,包括几个库项目。问题是,将引用(即System.Collection、System.Net)添加到Web项目时,正作为“引用程序集”从C:\ProgramFiles(x86)\ReferenceAssemblies\Microsoft添加,当在IIS中加载时,它没有正确加载程序集的实现(来自GAC)。示例错误如下。[BadImageFormatException:Cannotloadareferenceassemblyforexecution.][BadImageFormatException:Couldnotloadfileor