I have find many ways to make c# can use c++ dll.I used clr c++ to wrap the native c++ dll . But I need to use in c# with .net 3.5,it has the trouble
because it does the .NET Framework assembly "mscorlib, Version = 4.0.0.0, Culture = Neutral, PublicKeyToken = b77a5c561934e089 "has an indirect dependency, and the version of the assembly is" 4.0.0.0 ", higher than the version" 2.0.0.0 "in the current target framework
. The c++ dll is bulit in .net2.0 and clr dll also in .net2.0. How to resolve the problem? Thank you!