Ajax Control Toolkit: FSharp.Core Error

时光怂恿深爱的人放手 提交于 2019-12-11 18:26:39

问题


I've experiencing some troubles when running applications in Visual Web Developer 2010 with the Ajax Control Toolkit (ToolkitScriptManager).

Many times an error occours when I run the solution:

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).

If I choose "Continue", I must to reload the webpage and then the page seems to work, despite with the ajax controls (accordion) not properly rendered (I think).

Error shown in webpage (localhost asp.net development server):

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

I even added the FSharp installation in visual studio 2010, but nothing changes. This problem occours also in IIS, where I deploy the site.

It's a test page, there is only the toolkitscriptmanager and an accordion control.

Features: Visual Web Developer 2010 version 10.0.30319.1, .NET 4.0.30319 RTMRel, Ajax Control Toolkit 3.5.40412.0 (Also IIS 7.5.7600.16385).

What's going on? Where can I find FSharp.Core (or register it) and why, sometimes, the system don't ask me for?


回答1:


Finally, I've found the solution for this problem:

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

Installing the redist (F# runtime) on the deployment machine solved the problem for me.



来源:https://stackoverflow.com/questions/5017494/ajax-control-toolkit-fsharp-core-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!