LINQ in Action roller

Compiler warnings with LINQ May CTP (is there a way to use the C#2 .0 compiler for certain projects)

I'm writing some internal tools that use LINQ, and am still on the May CTP release because upgrading to Orcas beta1 is a much bigger change and I'd have to run it in VPC. Our projects have Warning level 4, and 'treat warning as error'. I'm seeing a lot more warnings, and thus errors, using the C# 3.0 compiler. Things like 'unused variable', 'possible runtime exception' etc. e.g. the code - void foo() { X x = new X(); } gives a warning under C# 3 but not under 2.0. Is there a way around this so I Read More...
Published Friday, April 27, 2007 8:31 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication