Reputation: 7264
I've downloaded Microsoft.Web.Helpers from NuGet to use in a MVC 3 (no WebMatrix!!!) project.
Contrary to many tutorials (like this: http://midnightprogrammer.net/post/Working-With-Microsoft-Web-Helpers-In-MVC-3-Razor-View.aspx and http://weblogs.asp.net/imranbaloch/archive/2010/11/07/using-asp-net-web-pages-in-asp-net-mvc.aspx) I don't have a @Facebook.Like
, no Facebook class at all.
Can it be some WebMatrix specific thing? Is there a way to get just the helpers?
Upvotes: 1
Views: 887
Reputation: 665
It's Facebook.LikeButton instead of Facebook.Like. Also make sure you have this on top,
@using Microsoft.Web.Helpers
Upvotes: 0