.Net Runtime
am 03.01.2008 22:25:30 von Perry Langla
Hi,
Is it possible to target a later version of the runtime version than the
ones Visual Studio 2003 supports? I would like to target the .Net 2.0
version. As this version comes preinstalled in the latest operating systems.
This would make deploying much easier.
Thanks Perry Langla
Re: .Net Runtime
am 03.01.2008 22:49:44 von Marc Gravell
> Hi, Is it possible to target a later version of the runtime version than the
> ones Visual Studio 2003 supports?
Sure; by using VS 2005 or VS 2008. Or simply "csc" or "msbuild" at the
command-line.
But VS 2003 cannot target .NET 2.0 AFAIK.
Try downloading the express edition of C# (2005 or 2008); it is free,
and should allow you to try what you want without issues.
And actually - deployment isn't the biggest thing; it would make
*development* easier ;-p
Marc
Re: .Net Runtime
am 03.01.2008 23:01:10 von Marc Gravell
Further, a machine with .NET 2.0 will generally run a 1.1 app fine, so
I'm not sure how it would make deployment easier... it should already
work fine (unless you are looking to use ClickOnce etc from 2.0, which
obviously *would* make deployment easier)
Marc
Re: .Net Runtime
am 04.01.2008 01:24:28 von Perry Langla
I have tried to install the application on a computer with .net 2.0
installed. It gives me a message that program can not be installed because
..Net Framework 1.1.4322 is not installed. The Microsoft link that is given
is redirected to the .net 2.0 download page. I guess Microsoft is not
supporting .net 1.1. Also you asked why not upgrade. I have and my program
does not work correctly in Visual Studio 2008 Professional. I was just
looking for an easy fix before I rewrite my code to work in 2008.
"Marc Gravell" wrote in message
news:31ea5129-b769-4ae3-bd63-8be468fe1d65@i7g2000prf.googleg roups.com...
> Further, a machine with .NET 2.0 will generally run a 1.1 app fine, so
> I'm not sure how it would make deployment easier... it should already
> work fine (unless you are looking to use ClickOnce etc from 2.0, which
> obviously *would* make deployment easier)
>
> Marc
Re: .Net Runtime
am 04.01.2008 10:35:35 von Rory Becker
Hello Perry,
> I have tried to install the application on a computer with .net 2.0
> installed. It gives me a message that program can not be installed
> because .Net Framework 1.1.4322 is not installed.
>
Sounds like the install package is preventing this from working.
A mistake on the part of he who wrote the install more than he who wrote
the program.
Theoretically there are ways of tricking the Machine into believing that
..Net 1.1 is installed but it rather depends on how the install program tests
for it.
Also, most simple .Net applications can be installed via XCopy deployment.
So you might get away with installing it on a machine with .Net 1.1 and then
copying the files across to your machine without. Again it depends on the
complexity of the program itself.
--
Rory