I'm working on a legacy ASP.NET website in Visual studio 2008. The project builds on some other system but it is throwing The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?) error in my machine.I suspect my visual studio is compiling the code in C# 2.0.
I know there are options in Visual studio latest version to change the C# version but such options are not available in visual studio 2008. How to change the C# version in Visual Studio 2008 Website.