crystalreport运行时错误 [英] crystalreport runtime error
本文介绍了crystalreport运行时错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
错误=
混合模式程序集是针对运行时版本"v2.0.50727"构建的,如果没有其他配置信息,则无法在4.0运行时中加载.
我的app.config文件是:
<? xml 版本 =" ? >
< 配置 >
< 启动 =" true" < supportedRuntime =" sku . NETFramework,Version = v4.0" >
< /startup >
< /configuration >
但我看到此错误!!!
解决方案
基于此处的讨论: [<?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>
but i see this error!!!解决方案Based on the discussion here: mixed mode assembly is built against version ''2.0.50727''[^], it, looks like your C# project references a C++/CLI project that has not yet been updated to .NET 4.0. Open your C++/CLI project in VS 2010 and build it again. And then make sure your C# project is referencing the new DLL and not the old one.
这篇关于crystalreport运行时错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文