开发者

ninject .net 4.0

Can you use Ni开发者_高级运维nject 2.0 with VS2010 RC1?


I had similar issue... try targetting the full .NET 4 Framework, not the Client Profile.

From my understanding System.Web is in .NET 4, but not the .NET 4 Client Profile. So for your assemblies, in which you are taking advantage of full Ninject compiled against 3.5 sp1, you will need to ensure they are not targeting the .NET 4 Client Profile but the full .NET 4 profile in order for the dependency on System.Web to be satisfied.


Even if it is compiled for .NET 3.5, the assembly should be able to run in .NET 4. Here's a nice picture.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜