What effect does the new precompile during publishing option have on MVC4 applications?

Using the ASP.NET precompiler can have the following impact on your MVC app: If you have anything in App_Code, it will be precompiled into a DLL before deployment. Without precompiling, this would happen on the fly by the ASP.NET runtime. If you choose the option to not make your pages updateable (i.e. uncheck the first … Read more

How do I open an old MVC project in Visual Studio 2012 or Visual Studio 2013?

Opening an unsupported MVC project in Visual Studio 2012 or Visual Studio 2013 is actually pretty easy to accomplish with two steps. In fact, as bytebender’s comment indicates, these same steps should apply to and work for MVC 1 projects. However, I haven’t tested them and therefore cannot guarantee that they do in fact work. … Read more

Where is the “Create Unit Tests” selection?

This feature was cut from VS. http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/08/what-s-new-in-visual-studio-11-beta-unit-testing.aspx Generate Unit Test Wizard – In VS2010 you could right click on a method in your code and we would generate a unit test into your test project. This wizard was very tightly coupled to MS-Test and depended on features like Private Accessors to do its work, so … Read more

Use Visual Studio 2012 and compile with older platform toolset?

According to this page on MSDN, you need to have the corresponding version of Visual Studio (2008 or 2010), or the relevant Windows SDK for the “Platform Toolset” drop down to list those versions: To change the target platform toolset, you must have the associated version of Visual Studio or the Windows Platform SDK installed. … Read more