How to use generics with vs.net 2003 ??

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

Is there a way to use generics with vs.net 2003??

I was searching around and I saw gyro but does it works with vs.net 2003??
if it does how am I suppouse to install it.

If it doesnt is there any other tool that let me?? Searching I found
http://www.ericjsmith.net/codesmith/ but it works only for asp.net.

Any ideas??

Thanks a lot in advance
 
Fred,

Unfortunately, it does not. 2003 is created to work with 1.1 of the
..NET framework, and I'm sure there are a number of differences in the gryo
version that would cause VS.NET to freak out (to say the least).

I would just wait for VS.NET 2004.

Hope this helps.
 
Fred said:
Is there a way to use generics with vs.net 2003??

In short, no.
That brings a question to mind, does vs 2003 use the 1.1 compiler and
switches, etc for compiling 1.0 apps, or does it use the 1.0 compiler...I've
never thought(nor am even sure how) to find out.
I was searching around and I saw gyro but does it works with vs.net 2003??
if it does how am I suppouse to install it.

If it doesnt is there any other tool that let me?? Searching I found
http://www.ericjsmith.net/codesmith/ but it works only for asp.net.
That should work for any project type, as far as I know, but it is still not
really generics. Generics support is currently limited to gyro & the 2.0
version of the framework(and perhaps mono, I don't konw how far along they
are).
If you want to use gyro or are lucky enough to have gotten your hands on a
MS built compiler with generics, you will probably have to use notepad\some
other text editor currently.
 
Fred, Nicholas already answered the first part of your question (VS.Net 2003
won't do generics). You can definitely use gyro and the SSCLI (Shared
Source CLI) to play around with generics. You can use any text editor to
create your cs files and then use the command line compiler to compile your
app. I would definitely recommend playing around with gyro and the SSCLI,
you'll learn a ton about .Net.
 
Back
Top