是否可以在 Windows Store Apps with HTML5 中使用在 .net(C#) 中编译的 dll?

Is possible to use dll compiled in .net(C#) in Windows Store Apps with HTML5?

使用 VisualStudio 可以制作 Windows 使用 HTML5 存储应用程序,但我想知道是否可以在此类项目中使用 .net dll。

是的,您可以这样做,但是需要将 .NET 项目创建为 Windows 运行时组件 而不是常规的 Class图书馆。 .NET 项目中 public 的任何内容都可以从 JavaScript 调用;请注意,这会限制您在 public 表面积中可以拥有的东西的类型 - 它们必须都是与 WinRT 兼容的类型。