Targeting builds for .NET FW 1.1 using VS 2005

A

arc

I didn't position my query well last time, so rephrasing and posting it
again:



We are looking to target our product for VS 2005 environment (currently
built using VS.NET 2003 & FW 1.1) while also continuing support for .NET FW
1.1.

For this to happen, we ideally need the ability for VS 2005 to compile for
..NET FW 1.1 so we have runtime support for both the versions (1.1 & 2.0)



VS 2005 currently doesn't support such initiative; does Microsoft plan to
support this backward compatibility in near future?



Is there a better alternative here, I am sure many have similar issues that
we are facing now.



Thanks,

Durga
 
N

n33470

Related to this, I remember reading somewhere about a VS2005 setting
that would disallow .NET 2.0 language features, like generics. Is
there a setting (either on the project, or solution, level) that would
accomplish this? Does anyone have more details on this?

This would be helpful in VS2005 when working on a project that may need
to be compiled against the 1.1 framework so that unsupported language
constructs don't slip in there.

--steve
 
M

Mattias Sjögren

Related to this, I remember reading somewhere about a VS2005 setting
that would disallow .NET 2.0 language features, like generics. Is
there a setting (either on the project, or solution, level) that would
accomplish this? Does anyone have more details on this?

Do you mean the compiler option /langversion:ISO-1 ?


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top