Web.tt in VS 2013 MVC project causes error “value does not fall within the expected range”
问题 Has anyone else encountered this in VS 2013? Any way of fixing? Create a new asp.net web application with visual studio 2013. Under "Add folders and core references for:", check MVC. Click OK. Open the web.config and copy the contents. Add a new text template to your project called "Web.tt" Paste in the contents of your web.config and change the output extension to be .config. all you need is this line (and then your web.config contents after it): <#@ output extension=".config" #> Make sure