-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
I have an existing WebApi2 + MVC solution to which I have installed TwitterBootstrapMVC5 following the instructions and added my license file.
Razor does not detect Bootstrap:
'HtmlHelper' does not contain a definition for 'Bootstrap' and no extension method 'Bootstrap' accepting a first argument of type 'HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
I've ensured Bootstrap.Configure() is executed. At runtime I get:
Compiler Error Message: CS1963: An expression tree may not contain a dynamic operation
for
Line 10: @(Html.Bootstrap().LabelFor(m => m.UserName)
Line 11: .LabelText("Username")
Line 12: .ShowRequiredStar(true))
TwitterBootstrapMVC5 and T4MCXExtensions are referenced. I've tried to restart Visual Studio but nothing helps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels