ASP.NET Web Application Target Framework 3.5, but Development Server Version Information says 2.0?

StackOverflow https://stackoverflow.com/questions/8568337

Pregunta

I set the Target Framework for a Web Application to .Net Framework 3.5, but when I get a YSOD, the "Version information" at the bottom of the page says "Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5420"

I've replicated this on a File > New Web Application as well, so I can conclude that I'm not doing anything out of line in my code.

Does anyone know why this is, or how to fix it?

¿Fue útil?

Solución

This is the expected behavior. .NET 3.5 is just .NET 2.0 SP2 with some new assemblies.

Otros consejos

There is no ASP.Net 3.5.

.Net 3.5 is just a bunch of new DLLs, plus new versions of C# and VB.Net.
It's the same runtime.

In IIS change the application pool to target Framework 3.5

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top