Cshtml trouble ASP.NET version declaration

pakimafia

New Member
How to I specify the version of ASP.NET I'm using in my .cshtml file? The web browser complained about it when I didn't and when I went to microsofts page to look at the problem I created a web.config file with the text \[code\]<?xml version="1.0"?> <appsettings> <add key="webPages:Version" value="http://stackoverflow.com/questions/15886587/2.0" /> </appsettings></configuration>\[/code\]just like they said I should and now it says I have an error the code.Saying that I miss a section declaration on the line.
 
Top