In VS2003 you can specify whether your project will support 1.1 or 1.0.
This does not mean *targetting* 1.1 or 1.0, it simply specifies
compatability.
But I can't find a similar feature in the VS2005. Is there one?
The reason I need this setting is that I have projects that I wish to
share between 1.1 and 2.0 applications, so some are built in 2003,
others in 2005. But I want the 2005 developers to be warned against
including .NET 2.0 features, and I hoped a similar setting to
"Supported Runtimes" in VS2003 would be available.
Any help appreciated
Boz
jjkboswell@yahoo.com - 13 Mar 2006 11:54 GMT
I think the /langversion:ISO-1 option might provide approximately what
I'm after. This setting (in Advanced Build project options) appears to
standardise the language to C# 1.0, which gives me some scope for
limiting developers from using 2.0 features.
Is this a reasonable use of this setting? Or have I missed the point?
Boz