小编Bob*_*ory的帖子

FsXaml可以用在F#解释的脚本中吗?

我刚刚将其中一个FsXaml演示程序转换为解释的F#脚本,以便我可以试验并学习.它不会运行,并且解释器给了我以下错误消息:

System.NotSupportedException:动态程序集中不支持调用的成员.
在System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceStream(字符串名称)
在FsXaml.InjectXaml.from(字符串文件,对象根)
在FsXaml.App.InitializeComponent()在FsXaml.App..ctor()
在FSI_0002.main [一](a argv)在C:\ Users\bobmc\OneDrive\FSharp\Learning\WPFExamples\FsXaml\demos\WpfSimpleMvvmApplication\WPFApp.fsx:第104行
at.$ FSI_0002.main @()in C:\ Users\bobmc\OneDrive\FSharp\Learning\WPFExamples\FsXaml\demos\WpfSimpleMvvmApplication\WPFApp.fsx:第109行

我可以将F#解释器与FsXaml一起使用吗?感谢大家的帮助.

xaml f# fsxaml

7
推荐指数
1
解决办法
167
查看次数

标签 统计

f# ×1

fsxaml ×1

xaml ×1