keyongtech


  keyongtech > vsnet.* > vsnet.ide > 03/2006

 #1  
03-10-06, 03:44 PM
jjkboswell
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
 #2  
03-13-06, 10:54 AM
jjkboswell
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
Similar Threads
VS2003 / "Build" checkboxes / .sln file

In 1.1, when I bring up the "configuration Manager", (the Active Solution Configuration is set to Debug) When I check off the "Build" checkboxes, where is this information...

build error "duplicate reference", biztalk2006, VS2005

Hi, I'm having problems with a test biztalk 2006 project in VS 2005. I'm trying to use the call rules shape from a simple orchestration, to call a BRE policy which accepts a...

VS Installer "Build failed (No such interface supported)" error

Hi, I use VS Installer to create Installation setups for my VB6 projects. Lately something has happend and I cannot build any projects anymore. Even for a VB6 project where...

"for each" is not supported by vs2005 beta?

Hi. I heard that vs2005 vc++ support the "for each" statement. I try it in vs2005 by creating a dotnet c++ console program. The code is: #using <System.dll> using namespace...

'Supported Runtimes' setting for some project types

Where is an option to support the 1.0 framework in VS2003, but this option is only available in the project settings of Executable Projects, such as Web Applications and...


All times are GMT. The time now is 12:03 PM. | Privacy Policy