Is FSharp.Data.DesignTime .NET 4.5 only?

≡放荡痞女 提交于 2019-12-10 14:49:03

问题


I'm using FSharp.Data.1.1.10 in a .NET 4.0 project, and when I add FSharp.Data with Nuget, it creates a packages\FSharp.Data.1.1.10\lib\net40 directory where it puts FSharp.Data.dll and FSharp.Data.DesignTime.dll. According to Telerik JustDecompile, FSharp.Data.dll is a .NET 4.0 dll, but FSharp.Data.DesignTime.dll is a .NET 4.5 dll even though it resides in the net40 subdirectory.

So, is FSharp.Data.DesignTime .NET 4.5 only, or is this a bug?


回答1:


Yes, FSharp.Data.DesignTime is .NET 4.5, but that doesn't mean your projects have to be .NET 4.5 also, it's just a design time component, and you shouldn't even reference it, only FSharp.Data.dll

EDIT:

In FSharp.Data 1.1.x the DesignTime dll was being added by mistake when referencing the nuget package, in 2.x that is now fixed



来源:https://stackoverflow.com/questions/19214044/is-fsharp-data-designtime-net-4-5-only

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!