This project is read-only.

.Net Framework versions

Oct 28, 2008 at 9:32 PM
My web server does not return any data when I run it with .Net Framework v2. It works fine with .Net Framework v3.5. Is this a known issue?

Can someone explain to me how I know which version of the Framework is used when building and running applications when multiple versions of the Framework is installed. Does it matter that I build with Visual Studio 2005 on a machine with v1.1, v2, v3 and v3.5 installed, and then try to run it on a machine with v1.1 and v2 installed? I get no warnings or errors.

Oct 29, 2008 at 8:05 AM
As far as I know, there is no way in Visual Studio 2005 to select .Net 3.5 as target platform. And we still develop the webserver in Vstudio 2005.

Do you compile the webserver in 2005 or 2008? If in 2008, check "Target framework" under "Application" properties.
Oct 29, 2008 at 9:47 AM
I build in 2005. Which Framework version is used then?

Oct 29, 2008 at 10:03 AM
Then it should be compiled with 2.0. I'm no expert on the net framework (and having different versions installed).
We have both 2.0 and 3.5 on our developer machines (and both vstudio 2005 and 2008). On our production server we have only 2.0 installed, and it works fine.

Do you have any logs to see excactly where it stops?
Nov 3, 2008 at 2:41 PM
When I build with 2005 and have .Net Framework 3.5 installed, a file System.Core.dll is generated together with the output. As long as this file is distributed with the application, it works. The file is not needed if 3.5 is installed on the target machine.

If I build with 2005 and have only .Net Framework 2.0 installed, no System.Core.dll is generated.

When I run the application on a computer without System.Core.dll or .Net Framework 3.5, the web server generates no output on requests, but it seems to work in all other aspects.

I have no time to investigate the cause of this behavior at the moment.

Jan 21, 2009 at 6:05 PM
Don't know if that's still an issue, but I compiled against .NET 2.0 and 3.5 on VS C# Express 2008. Works fine with both targets for me.