TDaver
TDaver

Reputation: 7264

Why no 'Facebook' class in Microsoft.Web.Helpers?

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

Answers (3)

vinczemarton
vinczemarton

Reputation: 8156

Get version 1.15

You'll have the @Facebook

Upvotes: 1

frennky
frennky

Reputation: 13984

You can get it with NuGet:

PM> Install-Package Facebook.Helper

Upvotes: 0

user571646
user571646

Reputation: 665

It's Facebook.LikeButton instead of Facebook.Like. Also make sure you have this on top,

@using Microsoft.Web.Helpers

Upvotes: 0

Related Questions