What 'additional configuration' is necessary to reference a .NET 2.0 mixed mode assembly in a .NET 4.0 project?

后端 未结 17 1156
死守一世寂寞
死守一世寂寞 2020-11-22 08:20

I have a project in which I\'d like to use some of the .NET 4.0 features but a core requirement is that I can use the System.Data.SQLite framework which is compiled against

17条回答
  •  遥遥无期
    2020-11-22 08:58

    If your are working in a web service and the v2.0 assembly is a dependency that has been loaded by WcfSvcHost.exe then you must include

    
        
    
    

    in ..\Microsoft Visual Studio 10.0\Common7\IDE\ WcfSvcHost.exe.config file

    This way, Visual Studio will be able to send the right information through the loader at runtime.

提交回复
热议问题