We've been doing some work to get our views in ASP.NET MVC to be pre-compiled which allows us to see any errors in them at compilation rather than at run time.
It's relatively simple to do. You just need to add the following code into your .csproj file anywhere below the element:
where VirtualPath refers to the virtual path defined inside your project file and PhysicalPath is the path to the folder which contains the project with the views in.
As I previously mentioned we're using Steve Sanderson's...
No comments yet, be the first one to post comment.