I have a .NET 4.0 web application that uses a .NET 2.0 assembly. I’ve added the reference to the 2.0 assembly and added this
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
<supportedRuntime version="v2.0.50727" />
</startup>
in the web.config file. Problem is I still get a compile time error stating that I’m “missing an assembly reference”. I’ve even decompiled the assembly and recompiled it in .NET 4.0, and
still no luck.
Please assist?
Give this a try: