CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2001
    Location
    Turkey
    Posts
    173

    is it possible: C# 2.0 in .NET 2003?

    I want to use Generics in C#, so I want to write in C# 2.0.
    However my IDE is .NET 2003, so it includes previous version of C#.
    How can I install and adopt C# 2.0 into my .NET 2003 IDE?

    Thanks.

  2. #2
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: is it possible: C# 2.0 in .NET 2003?

    No, you can't.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  3. #3
    Join Date
    Feb 2005
    Posts
    106

    Re: is it possible: C# 2.0 in .NET 2003?

    Greetings.

    As Darwin pointed out, .NET 2003 cannot use a higher version than 1.1.

    You can, however, invoke the 2.0 compiler using a post build event against your project sources. This isn't integration, but with a little effort you can make it work.

    Regards.

  4. #4
    Join Date
    May 2004
    Location
    Greenville, NC
    Posts
    193

    Re: is it possible: C# 2.0 in .NET 2003?

    C#.NET 2005 is available free to download at. Although, it's in beta so you may have to deal with some of the bugs.

    I absolutely love it so far.
    http://lab.msdn.microsoft.com/expres...p/default.aspx
    Jason Isom
    .NET 2.0 / VS2005 Developer

  5. #5

    Re: is it possible: C# 2.0 in .NET 2003?

    You may not even need to use a post-build event. I believe exchanging your csc.exe's is all that is necessary. However, IDE support (like intellisense and syntax highlighting) are indeed impossible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured