Razor Single File Generator for MVC


Single File Generator for Razor View files (.cshtml files) in an mvc project. Allows you to compile your razor views and thus distribute them without source code. Changelog: 1.0.5: Stopped using a custom buildprovider, using inheritance for code generation now. This should ...

(4) Review
Visual Studio
Download (14,598)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (4)
Q and A (6)
Sign in to write a review
Sort by:

by Farzad Badili | December 08 2011

by valamas | July 11 2011

Works! And with areas

by mamadero2 | February 21 2011

Cool. Great.

by bart plasmeijer | December 01 2010

This is really awesome Chris!
Bart Plasmeijer

Sign in to start a discussion

  • VS2013 version?
    1 Posts | Last post March 01, 2015
    • Hi,
      I'm using VS2013, what should I do?
  • VS2013 version available?
    1 Posts | Last post November 24, 2014
    • Hi,
      Is there a one that supports in VS2013?  I've tried to build the EmbeddedView class library, but it gave me an error.  Please help.
  • MVC5
    1 Posts | Last post November 12, 2014
    • does anyone knows where i can find Commons.web.mvc.precompiledviews.dll or how to generate it?
  • ASP MVC 4 version
    1 Posts | Last post April 12, 2013
    • Is there a working MVC 4 version of this?
      Thank you
  • Visual Studio 11 (2012)
    5 Posts | Last post January 22, 2013
    • Hi Chris,
      your custom tool always worked great for me with visual studio 10.
      Now I upgraded to VS11 and tried to install your extension, but it told me i had no supported products for the tool.
      I extracted the content and changed the manifest file to state '<VisualStudio Version="11">'. It would let me install now, but when I try to reference and run your custom tool from the context menu on the .cshtml file ('Run custom tool'), it says 'Cannot find custom tool "MvcRazorClassGenerator" on this system'. Any Idea on how to resolve this issue?
      Thanks in advance and thanks for the great tool so far!
    • hmm... sorry for that request, it works now.
      All I did was a reboot. So, it seems that (sometimes?) a restart of visual studio will not be sufficient for the custom tool to be registered.
    • Still, it would probably be a good idea to upload a new version that also lists VS11 in its manifest for the supported products. There don't seem to be any compatibility issues as far as I can tell :)
    • Hi Chips_100
      I`ve the same problem .i opened the .vsix file in notepad++ and in the 
      Changelog section changed the '<VisualStudio Version="11.0">' but still had the problem.Could u explain more what u did to fix that?!
    • Thanks Chips_100, your comment helped solve the same issue I was facing
  • Commons.web.mvc.precompiledviews.dll
    1 Posts | Last post February 29, 2012
    • Where is this dll file ? It doesnt seem to be in the bin/debug folder?