473,388 Members | 1,277 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Compiling an .NET v1.1 executable with MS VS 2005

The problem is really quite straightforward: I develop my applications
in Microsoft Visual C# 2005 Express Edition, and I need to run the
application on Windows XP which have .NET Framework version 1.1
installed, and installing .NET Framework 2.0 is not an option.

And, I can't believe what I'm seeing while googling. Is there really no
way to compile code for .NET Framework 1.1 with Microsoft Visual C# 2005
Express Edition? Please, tell me I'm getting it wrong, because I don't
want to downgrade to VS 2002 if not absoultely necessary.

--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
May 9 '07 #1
7 1502
Nikola,

Out of the box, you can not build solutions for .NET 1.1 with VS.NET
2005. However, Microsoft has a project on gotdotnet.com called "MSBee"
which is a set of MSBuild extras which will allow you to use the VS.NET 2005
edition to build .NET 1.1 applications.

From Orcas on, you will be able to select which framework you want to
target out of the box.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Nikola Skoric" <ni*******@net4u.hrwrote in message
news:MP************************@news.t-com.hr...
The problem is really quite straightforward: I develop my applications
in Microsoft Visual C# 2005 Express Edition, and I need to run the
application on Windows XP which have .NET Framework version 1.1
installed, and installing .NET Framework 2.0 is not an option.

And, I can't believe what I'm seeing while googling. Is there really no
way to compile code for .NET Framework 1.1 with Microsoft Visual C# 2005
Express Edition? Please, tell me I'm getting it wrong, because I don't
want to downgrade to VS 2002 if not absoultely necessary.

--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"

May 9 '07 #2

"Nikola Skoric" <ni*******@net4u.hrwrote in message
news:MP************************@news.t-com.hr...
The problem is really quite straightforward: I develop my applications
in Microsoft Visual C# 2005 Express Edition, and I need to run the
application on Windows XP which have .NET Framework version 1.1
installed, and installing .NET Framework 2.0 is not an option.

And, I can't believe what I'm seeing while googling. Is there really no
way to compile code for .NET Framework 1.1 with Microsoft Visual C# 2005
Express Edition? Please, tell me I'm getting it wrong, because I don't
want to downgrade to VS 2002 if not absoultely necessary.
As I understand, Visual C# 2005 Express can only complie for the 2.0
framework. However, this doesn't stop you from installing the 1.1 SDK and
using a build tool such as NAnt (http://nant.sourceforge.net/) to build your
app outside of the IDE.

I can't recall if the express edition allows you to define external tools,
but if you can, you can define NAnt as an external tool starting in the
solution directory, where it will automatically start the default build
script. You can then run it from within the IDE.

May 9 '07 #3
On May 9, 1:57 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:

<snip>
From Orcas on, you will be able to select which framework you want to
target out of the box.
Is that meant to target .NET 1.1 as well as 2.0/3.0/3.5? From memory,
beta 1 doesn't offer 1.1 as an option. Admittedly it's getting to the
stage where hopefully that's not such an issue...

Jon

May 9 '07 #4
Yes, Orcas supports projects that output from .NET 2.0 and on.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:11**********************@q75g2000hsh.googlegr oups.com...
On May 9, 1:57 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:

<snip>
> From Orcas on, you will be able to select which framework you want to
target out of the box.

Is that meant to target .NET 1.1 as well as 2.0/3.0/3.5? From memory,
beta 1 doesn't offer 1.1 as an option. Admittedly it's getting to the
stage where hopefully that's not such an issue...

Jon

May 9 '07 #5
Nicholas Paldino [.NET/C# MVP] wrote:
Out of the box, you can not build solutions for .NET 1.1 with VS.NET
2005. However, Microsoft has a project on gotdotnet.com called "MSBee"
which is a set of MSBuild extras which will allow you to use the VS.NET 2005
edition to build .NET 1.1 applications.
Or use NAnt which as a main feature support building for different
platforms (different versions of MS .NET and different versions of
Mono).

Arne
May 10 '07 #6
Jon Skeet [C# MVP] wrote:
On May 9, 1:57 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
> From Orcas on, you will be able to select which framework you want to
target out of the box.

Is that meant to target .NET 1.1 as well as 2.0/3.0/3.5? From memory,
beta 1 doesn't offer 1.1 as an option. Admittedly it's getting to the
stage where hopefully that's not such an issue...
2.0 has only been out for one and a half year (non-beta).

There could easily be some production systems running on 1.1 where
they want new features and an upgrade is not an option.

Arne

May 10 '07 #7
In article <ey*************@TK2MSFTNGP06.phx.gbl>,
al****************@delete.me.googlemail.com says...
As I understand, Visual C# 2005 Express can only complie for the 2.0
framework. However, this doesn't stop you from installing the 1.1 SDK and
using a build tool such as NAnt (http://nant.sourceforge.net/) to build your
app outside of the IDE.
Huh. I've downloaded MSBee, tried to figure out how it works and failed.
In fact, I failed at the MSBuild part since all of the documentation I
found is based on presumption that I have a giant project on my hand.
So, there are no straightforward examples for a newbie (at least I found
none).

Then I turned to NAnt, for which I found some basic level examples. I
even figured out how to use NAnt SlingShot all by myself ;-) But, after
successfuly making .build file with SlingShot and successfuly runing
NAnt, I just can't find the executable which I should get by building
something...

--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
May 10 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Steven T. Hatton | last post by:
Is there anything that gives a good description of how source code is converted into a translation unit, then object code, and then linked. I'm particularly interested in understanding why putting...
4
by: Caroline | last post by:
I'd like to launch an executable file from a web page. Basically, the user enters seven parameters and then clicks a button to generate a graph. The input is written to a file and then read by...
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
7
by: Sverker Nilsson | last post by:
I have been informed that Guppy-PE (http://guppy-pe.sourceforge.net) has failed to compile its extension modules with a Microsoft .NET 2003 compiler under Windows 2000. One of the problems,...
2
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
8
by: rays | last post by:
Hi, I am trying to port a C++ program which is supposed to be standards compliant. It works fine on Linux with GCC (4.x). But as I try to compile it on Windows, all hell breaks loose. I have been...
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
13
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
When I'm writing my own code, compiling it and testing it out as I go along, I usually compile as follows: gcc *.c -ansi -pedantic -Wall -o executable If I'm using 3rd-party libraries, I'll...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.