Click here to Skip to main content
15,899,475 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
I am having some problems. I have a windows application is written in vs 2012 with .Net Framework 4.5, when I open the crystal reports I can't view the report because of assembly problem. when I run it says,"Mixed mode assembly is built against version'v2.0.50727' of hte runtime and cannot be loaded in teh 4.0 runtime without additional configuration information."

What I have tried:

I googled it found some clue but did not help. I don't even have idea what to do.
thanks all.

C#
<startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  </startup>
Posted
Updated 14-Jun-18 7:51am

1 solution

XML
<startup useLegacyV2RuntimeActivationPolicy="true">

F# Scripting, .NET 4.0 and Mixed-mode assemblies – Sharp Things[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900