Project reference work-around .net 4.5 and .net 3.5

后端 未结 1 1471
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-10 21:12

In continue for this thread:
Mixing .NET 3.5 with 4/4.5 assemblies in the same solution/project

I found a workaround:
http://social.msdn.microsoft.com/Foru

1条回答
  •  北荒
    北荒 (楼主)
    2020-12-10 22:08

    Your configuration file will load .NET 2.0 runtime and it would fail at some point loading .NET4.5 components. You really want your app to run in .NET4.5 runtime and be able to load 3.5 components. You should try following config file.

    
        
            
        
    
    

    0 讨论(0)
提交回复
热议问题