【问题标题】:Ajax Control Toolkit: FSharp.Core ErrorAjax 控制工具包:FSharp.Core 错误
【发布时间】:2011-02-16 14:16:31
【问题描述】:

我在使用 Ajax 控件工具包 (ToolkitScriptManager) 在 Visual Web Developer 2010 中运行应用程序时遇到了一些问题。

运行解决方案时多次出现错误:

Could not load file or assembly 'FSharp.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 
O sistema não pode encontrar o arquivo especificado.
(System couldn't find the specified file).

如果我选择“继续”,我必须重新加载网页,然后页面似乎可以工作,尽管 ajax 控件(手风琴)没有正确呈现(我认为)。

网页中显示的错误(localhost asp.net 开发服务器):

Line 13: <body>
Line 14:     <form id="form1" runat="server">
Line 15:     <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
Line 16:     </asp:ToolkitScriptManager>
Line 17: 

我什至在 Visual Studio 2010 中添加了 FSharp 安装,但没有任何变化。这个问题也发生在我部署站点的 IIS 中。

这是一个测试页面,只有toolkitscriptmanager和一个手风琴控件。

功能:Visual Web Developer 2010 版本 10.0.30319.1、.NET 4.0.30319 RTMRel、Ajax Control Toolkit 3.5.40412.0(还有 IIS 7.5.7600.16385)。

发生了什么事?我在哪里可以找到 FSharp.Core(或注册它),为什么有时系统不要求我提供?

【问题讨论】:

    标签: asp.net ajaxcontroltoolkit


    【解决方案1】:

    终于找到了解决这个问题的办法:

    Could not load file or assembly FSharp.Core, Version=4.0.0.0

    在部署机器上安装 redist(F# 运行时)解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-02-22
      • 1970-01-01
      • 2013-05-22
      • 1970-01-01
      • 2015-02-18
      • 2011-06-19
      • 2010-11-22
      相关资源
      最近更新 更多