Does Framework 2.0 Supports dll developed using Framework 3.5
-
Hi all, I have developed my web site using Visual Studio 2008 and Framework 3.5, but the web server where I have registered contains only framwork 2.0, I have created the web site, that interacts with class lib to fetch and store data from and to database. So, my question is if i compail all this class lib in 2008 environemt and reconstruct a new site using the 2005, will all these class lib will work with the new site in 2005 and Framework 2008? When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros with the reversing of List<> ASSEMBLY REFERENCE MISSING, some of the namespace missing errors. How to handel this suitaion and solve the issue with in less time Else is there any good solution with this, insted of installing Framework 3.5 in server, Please suggest me Thanks in advance
Know is Drop, Unknown is Ocean
-
Hi all, I have developed my web site using Visual Studio 2008 and Framework 3.5, but the web server where I have registered contains only framwork 2.0, I have created the web site, that interacts with class lib to fetch and store data from and to database. So, my question is if i compail all this class lib in 2008 environemt and reconstruct a new site using the 2005, will all these class lib will work with the new site in 2005 and Framework 2008? When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros with the reversing of List<> ASSEMBLY REFERENCE MISSING, some of the namespace missing errors. How to handel this suitaion and solve the issue with in less time Else is there any good solution with this, insted of installing Framework 3.5 in server, Please suggest me Thanks in advance
Know is Drop, Unknown is Ocean
Exelioindia wrote:
I have developed my web site using Visual Studio 2008 and Framework 3.5, but the web server where I have registered
Registered what? Why did you develop a 3.5 project if you are targeting a 2.0 environment? That was a mistake. Because you made that mistake you now have to deal with the problems you created for yourself.
Exelioindia wrote:
When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros
Yes, these are the problems you created by making the previous mistake and so now you have to change your code to use the .NET 2.0 Base Class Library rather than the .NET 3.5 Base Class Library which contains classes that DO NOT EXIST in the 2.0 Base Class Library.
-
Hi all, I have developed my web site using Visual Studio 2008 and Framework 3.5, but the web server where I have registered contains only framwork 2.0, I have created the web site, that interacts with class lib to fetch and store data from and to database. So, my question is if i compail all this class lib in 2008 environemt and reconstruct a new site using the 2005, will all these class lib will work with the new site in 2005 and Framework 2008? When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros with the reversing of List<> ASSEMBLY REFERENCE MISSING, some of the namespace missing errors. How to handel this suitaion and solve the issue with in less time Else is there any good solution with this, insted of installing Framework 3.5 in server, Please suggest me Thanks in advance
Know is Drop, Unknown is Ocean
Exelioindia wrote:
web server where I have registered contains only framwork 2.0
I presume you mean the web hosting provider only supports .net 2.0. If you have developed the website in .net 2.0 or you should have selected a provider that supports .net 3.5. In his book "Commonsense for Software Developers", Attila the Hun, who was Khagan of the Huns (and also an MVP) in 5th century AD, says - "To those who start fires and seek advise on firefighting techniques, I say : was it not simpler not to have started the fire? "
Exelioindia wrote:
Else is there any good solution with this, insted of installing Framework 3.5 in server,
There are three solutions to this 1) Go over the code and redo it for .net 2.0 compatibility 2) start from scratch in .net 2.0 3) select a service provider who supports 3.5 or install 3.5 if the service provider allows it.