Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TagBuilder gone from MVC 3 beta to RC

What happened to the TagBuilder class between ASP.NET MVC 3 beta and RC?

When compiling my project I get the error:

The type name 'TagBuilder' could not be found. This type has been forwarded to assembly 'System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Consider adding a reference to that assembly.

However that assembly does not exist in the GAC (nor in the .NET tab of the Add References dialog.) A search of my HDD doesn't turn up a DLL with that name either.

like image 761
Drew Noakes Avatar asked Nov 24 '10 08:11

Drew Noakes


3 Answers

On my install of the RC, that assembly lives here:

C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\System.Web.WebPages.dll
like image 187
dahlbyk Avatar answered Oct 18 '22 10:10

dahlbyk


It was moved to the System.Web.Pages.dll assembly:

c:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\
like image 20
Darin Dimitrov Avatar answered Oct 18 '22 08:10

Darin Dimitrov


FYI: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\System.Web.WebPages.dll

is where it got installed by default on my Windows 7 Ultimate Box

like image 3
Bohemian Avatar answered Oct 18 '22 09:10

Bohemian