Target .NET v1.1 with Visual C# Express Edition Beta 2

  • Thread starter Thread starter LordHog
  • Start date Start date
L

LordHog

Hello,

I am wondering if there is a way to target the .NET v1.1 framework
under Visual C# Express Beta 2? The application is a console
application so no Winforms is needed. Thanks

Mark
 
no, each version of visual studio.net/visual express is keyed to a
particular version of the framework i.e. vs.net 2002 is 1.0, vs.net 2003 is
1.1, and vs.net 2005/express product is 2.0

Cathal
 
Keep in mind that code written with vs 2003 will run on a device with the
2.0 framework.

I believe the customization you seek is in the manifest.
 
Michael,

My understanding is a .NET assembly will use the most recent version
of the .NET framework that is installed on a machine if one is not
stated in the .config file (i.e. <requiredRuntime version="v1.1.4322"
/> or <supportedRuntime version="v1.1.4322" />). Info can be found
here if any one else is interested

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfstartup.asp

My concern was I was hoping that I could tell Visual Studio to use a
particular .NET framework for a project/solution. It would be very nice
if this type of configuration exist, but from what I see it is not
possible. That is a real shame IMHO. I am not too sure why a particular
..NET framework has to be tethered to a particular Visual Studio
version. Perhaps I don't understand the coupling involved between the
two.

The problem I have is that I have developed an application using Visual
C# Express, but I can't install the .NET 2.0 framework on all the
machines that will use the application as it will crash an Electronic
Time Keeping application that was built by the IT department. I have
mentioned to IT that if a machine has .NET v2.0 framework installed
they can use the <requiredRuntime version="v1.1.4322" /> element, but
I can't force them to change just for my little application that is use
by only a few people.

Mark
 
Back
Top