I’m using windows server 2008 R2 with IIS 7.5.
I developed a website using the latest visual studio for web development (2012)
In my server I have asp.net 4.0 and C# 2010. In my project I used asp.net 4.5 and C# 2012.
Moving my site to asp.net 4.0 was no problem. But i’ve got a problem with the C# compiler.
Is there a way to update the C# compiler to 2012?
Thanks in advance!
Javier
You’ll need to install the .NET Framework 4.5 on the server so that the site can be compiled against the targeted framework. I don’t know if 4.5 still uses the 4.0 CLR or not, if so you will still just select .NET 4.0 in IIS, just as you would select 2.0 if using 3.5 – if there is another CLR then you will see an explicit 4.5 selection in IIS.