我可以在F# 2.0项目中使用.resx文件吗?
如果是这样,我该如何添加,然后使用这些资源。
提前谢谢。
发布于 2012-09-20 05:18:51
这是另一种方法。虽然我知道对最初的问题来说太晚了,但我希望它能帮助其他人。
在步骤1中,使用ResGen.exe对文本文件执行name2=world
System.Reflection.Assembly.GetExecutingAssembly()) System.Resources let res = ResourceManager("strings",res.GetString("name1") + res.GetString("name2") |> printfn "%s"
https://stackoverflow.com/questions/2689446
复制相似问题