Why cant i create programs with .net 2.0 functionality?
Hello, i have a problem.
When i goto help>about microsoft blah blah in Vs.net 2003 it states that im running framework 1.1, even though i have 2.0 installed. Normally i would never have noticed but i have been going through a MSDN Walkthrough on custom server components which uses the HtmlTextWriter.WriteEncodedText() method. Which is stated in the msdn as only supported in 2.0. Presumably this is why i cannot compile the walkthrough and why i get errors about WriteEncodedText() not having been defined; Compiler Error CS0117.
Oh lord, do msdn examples ever work?
Any help please guys?
P.s. I also have installed the 2.0 SDK but that didnt help...
[691 byte] By [
breakl] at [2007-11-19 22:32:31]

# 2 Re: Why cant i create programs with .net 2.0 functionality?
Is there, or will there ever be a workaround for this?
breakl at 2007-11-10 3:33:47 >

# 3 Re: Why cant i create programs with .net 2.0 functionality?
Oh lord, do msdn examples ever work?Yes, most of the time.
- petter
# 4 Re: Why cant i create programs with .net 2.0 functionality?
Is there, or will there ever be a workaround for this?
What exactly do you mean by workaround?
If the example says that it is using .NET 2.0 then you have to use VB/VC# express or VS 2005 to compile it. You cannot create programs in VS 2003 that will run on top .NET 1.1 and same for VS 2005, only programs targetting .NET 2.0 can be compiled in VS 2005, which has already been posted above.
# 5 Re: Why cant i create programs with .net 2.0 functionality?
By workaround i mean will there ever be a way, i.e. patch, hack, update, for me to create programs targetting .net 2.0 with my copy of .net 2003?
Is there any logical reason behind them doing this or is it just to get people to buy the new software?
breakl at 2007-11-10 3:36:46 >

# 6 Re: Why cant i create programs with .net 2.0 functionality?
As of now there is no patch/hack/update to do that.
2005 was developed keeping in my mind .NET 2.0 framework's capabilities whileas 2003 was developed for .NET 1.1. You can do everything that you used to in .NET 1.1 plus much more in .NET 2.0 so why not get a copy a Visual Studio Express if you want to build applications targetting .NET 2.0.