[英]Using a F# portable library from a Windows Phone 8 app
I´m trying to use a portable F# library in my Windows Phone 8 app using Visual Studio 2013 but the compiler cannot resolve dependency to the FSharp.Core.dll version 3.3.1.0. 我正在尝试使用Visual Studio 2013在我的Windows Phone 8应用程序中使用便携式F#库,但编译器无法解析对FSharp.Core.dll版本3.3.1.0的依赖性。 I have tried to manually add a reference to the FSharp.Core.dll from C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\FSharp.NETPortable.
我试图从C:\\ Program Files(x86)\\ Reference Assemblies \\ Microsoft \\ FSharp.NETPortable手动添加对FSharp.Core.dll的引用。 Is F# portable library supported for Windows Phone 8?
Windows Phone 8是否支持F#可移植库?
What portable library type are you using? 你使用什么便携式库类型? In VS2013, you have to use the "Portable Profile (Legacy)" project type, which corresponds to Profile47.
在VS2013中,您必须使用“Portable Profile(Legacy)”项目类型,该项目类型对应于Profile47。 The other project type, "Portable Profile", corresponds to Profile 7, which only supports full .NET and Windows Store apps.
另一个项目类型“Portable Profile”对应于Profile 7,它仅支持完整的.NET和Windows应用商店应用。 Confusingly, in VS2012 the Profile47 project type was named "Portable Profile", which is what VS2013 calls Profile7.
令人困惑的是,在VS2012中,Profile47项目类型被命名为“Portable Profile”,这就是VS2013所称的Profile7。 You can see an example here of F# being used in a portable library with Windows Phone 8 here
你可以在这里F#中看到一个例子,随着Windows Phone 8的便携库使用这里
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.