This question is locked. New answers and comments are not allowed.
I have a large ASP.NET MVC application that uses the Telerik ASP.NET MVC Extensions. Everything works great on developer systems, even those where the product was not installed. I now have built the application and copied it to a lab system for more formal testing. Trying to run the application results in the following error:
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Telerik' and no extension method 'Telerik' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
Source Error:
This sure looks like the Telerik assembly was not present, but I see it in the application's bin directory along with the other assemblies it depends on.
Anyone have any thoughts on what is missing/wrong?
Thanks,
Marc
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Telerik' and no extension method 'Telerik' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 14: <script src="<%= ResolveClientUrl("~/Scripts/Hat.js") %>" type="text/javascript"></script>
Line 15: <asp:ContentPlaceHolder ID="ScriptIncludeContent" runat="server" />
Line 16: <%= Html.Telerik().StyleSheetRegistrar()
Line 17: .DefaultGroup(group => group.Add("telerik.common.css")
Line 18: .Add("telerik.vista.css"))
|
This sure looks like the Telerik assembly was not present, but I see it in the application's bin directory along with the other assemblies it depends on.
Anyone have any thoughts on what is missing/wrong?
Thanks,
Marc