Marc Scheuner [MVP ADSI] wrote:
Can Visual Studio 2003 build .NET 2.0 apps? And if so how?
No. Period. You have to use VS 2005 for .NET 2.0 apps.
Yes you can.
- set in the project properties that you don't want to compile mscorlib
inside the assembly. (compiler flag /nostdlib[+|-] )
- remove all system.* references from the project
- now add new assemblies from the .NET 2.0 SDK to your project for
system. etc.
- compile your project.
It might not work for 100% but often will. This is also the way you
can build .NET 1.0 assemblies from vs.net 2003. These also don't always
work, but often will.
Of course, best way to do this is to build on the command line, using
nmake or msbuild or nant.
Frans
--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET:
http://www.llblgen.com
My .NET blog:
http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------