tags:

views:

331

answers:

4

I installed MVC 1.0. Where's the System.Web.MVC dll so that I can use reflector to see how the helper methods are coded? I've looked in the bin folder of my ASP.NET MVC web app but it's not there. I am not quite sure where the MVC 1.0 installer installs the dll and how that wires up to the web.config of your MVC apps. Is System.Web.MVC installed in the GAC or something? If so, how the heck can I reflect over the assembly?

+7  A: 

Mine was in C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 1.0\Assemblies\System.Web.Mvc.dll.

ravuya
+3  A: 

You can view the actual source code on-line at http://www.codeplex.com/aspnet. Sometimes the version there lags the release, but it's usually pretty up-to-date. When I use Reflector, I just add the assembly from C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 1.0\Assemblies.

tvanfosson
+1  A: 

Mine is at: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 1.0\Assemblies

mannish
+1  A: 

If you're looking to reflect any DLL referenced by your project, just right click on the DLL under References in Project Explorer, click Properties, and it will tell you the exact path.

Will
however in this case, System.Web.MVC doesn't show up in properties of my web project in the assembly list
CoffeeAddict
It should be in the list of references... I only use web application projects, website projects may handle this differently...
Will