473,738 Members | 11,192 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# WinApp as a stand alone application

Hello All,

Is there a way to compile C# windows application as a stand alone program?

In my univ class we don't have VS.NET installed and I need to have my
executable running with out .NET environment. Is it possible?

As i'm getting the following error:

To run this application you first must install one of the following versions
of .net framework 1.1.4322 [...]

Unfortunately i have no chance for installing anything there.

Thanks,

Roman.
Nov 16 '05 #1
16 3029
Hi Roman Yankin,
Is there a way to compile C# windows application as a stand alone
program?


There if no official supported way from MS!!!

Here is one unsupported (and there are some others):
http://thinstall.com/help/html.html?...tframework.htm

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 16 '05 #2
Nope. You have to install .NET Framework.

"Roman Yankin" <ro********@mai l.ru> wrote in message
news:eh******** ******@TK2MSFTN GP12.phx.gbl...
Hello All,

Is there a way to compile C# windows application as a stand alone program?

In my univ class we don't have VS.NET installed and I need to have my
executable running with out .NET environment. Is it possible?

As i'm getting the following error:

To run this application you first must install one of the following versions
of .net framework 1.1.4322 [...]

Unfortunately i have no chance for installing anything there.

Thanks,

Roman.

Nov 16 '05 #3
Actually this is pretty strange to write library that can't be used without
installation of 100 MB neither on Win98 nor on Win2000...?

"Shiva" <sh******@onlin e.excite.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:u6******** ******@TK2MSFTN GP12.phx.gbl...
Nope. You have to install .NET Framework.

"Roman Yankin" <ro********@mai l.ru> wrote in message
news:eh******** ******@TK2MSFTN GP12.phx.gbl...
Hello All,

Is there a way to compile C# windows application as a stand alone program?

In my univ class we don't have VS.NET installed and I need to have my
executable running with out .NET environment. Is it possible?

As i'm getting the following error:

To run this application you first must install one of the following versions of .net framework 1.1.4322 [...]

Unfortunately i have no chance for installing anything there.

Thanks,

Roman.

Nov 16 '05 #4
Roman Yankin <ro********@mai l.ru> wrote:
Actually this is pretty strange to write library that can't be used without
installation of 100 MB neither on Win98 nor on Win2000...?


Are you talking about installed footprint size, or download size? The
download for the framework is only 23MB.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #5
I'm talking about the installed size. For instance in my case i simply want
to write a small program on C# that emulates some abstract process (my lab.
exercise). In our university class we got only Win2000 Pro and some IDEs
(VS6, Borlands, etc...) obviously i can't install Framework there. And can
someone explain me what's the sense in writing programs on .NET framework if
you can't deploy a compiled app without libraries being installed on the
client PC?

"Jon Skeet [C# MVP]" <sk***@pobox.co m> ???????/???????? ? ????????
?????????: news:MP******** *************** *@msnews.micros oft.com...
Roman Yankin <ro********@mai l.ru> wrote:
Actually this is pretty strange to write library that can't be used without installation of 100 MB neither on Win98 nor on Win2000...?


Are you talking about installed footprint size, or download size? The
download for the framework is only 23MB.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 16 '05 #6
Roman Yankin wrote:
Actually this is pretty strange to write library that can't be used
without installation of 100 MB neither on Win98 nor on Win2000...?


.Net isn't a library, it's an extention of the OS.

And isn't stranger to be using Win98 (or even Win2000) in 2004?

--
Truth,
James Curran [erstwhile-MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
Nov 16 '05 #7
"Roman Yankin" <ro********@mai l.ru> wrote in
news:eT******** ******@TK2MSFTN GP10.phx.gbl:
I'm talking about the installed size. For instance in my case i simply
want to write a small program on C# that emulates some abstract
process (my lab. exercise). In our university class we got only
Win2000 Pro and some IDEs (VS6, Borlands, etc...) obviously i can't
install Framework there. And can someone explain me what's the sense
in writing programs on .NET framework if you can't deploy a compiled
app without libraries being installed on the client PC?


The same was true of (say) VB, which required VB DLLs to be installed. The
ones for .NET are much larger, but also much more comprehensive.

Andy D
Nov 16 '05 #8
Hi Roman Yankin,
Actually this is pretty strange to write library that can't be used
without installation of 100 MB neither on Win98 nor on Win2000...?


This is not strang, this is by design!
And if you do not like it, you must not use it. This is very simple.
Anyone who programs in the managed world should be (or must be) aware of
this fact.

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 16 '05 #9
Roman Yankin <ro********@mai l.ru> wrote:
I'm talking about the installed size. For instance in my case i simply want
to write a small program on C# that emulates some abstract process (my lab.
exercise). In our university class we got only Win2000 Pro and some IDEs
(VS6, Borlands, etc...) obviously i can't install Framework there. And can
someone explain me what's the sense in writing programs on .NET framework if
you can't deploy a compiled app without libraries being installed on the
client PC?


Would you say the same thing about VB, which also required libraries?

I'm not sure that it's obvious that you can't install the framework at
university - have you asked the sys admins whether it would be
acceptable?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #10

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

Similar topics

9
2922
by: none | last post by:
Howdy all, I'm wondering if someone could give some direction on a problem I have or share their experiences. I'm wanting to create a little PHP application that will run on a local machine and use ODBC to connect to a Access database on that machine. A series of forms will interact with the database but if I understand correctly, I need some way to parse the PHP code. Is there a stand alone parser that could be used in place of a...
1
1756
by: Takeshi | last post by:
Hi All, I'm new to dotNET. I am (thinking of) building the presentation layer of my application in dotNET. Communication with the backend will be done by subject based (multicast) messaging - running on a Unix backend, with a windows client (C Win32 DLL) resident on the front end. I want to have a single code base for both a stand alone version of the application (rich user interface, faster responses via local cacheing etc), as well...
0
1209
by: Stan | last post by:
Are there any articles that cover the subject of whether a new application built in VS.NET would be better written in ASP.NET or as a stand-alone Windows application? This is an application that would require access to a remote SQL Server database. Thanks!
121
9774
by: David Pendrey | last post by:
I was wondering if it is at all posible to write a stand alone .EXE program in Visual Studio .NET. Hopefully in VB.NET but if not another language would be ok. Thanks for the assistance
2
2328
by: jim-on-linux | last post by:
py help, The file below will run as a stand alone file. It works fine as it is. But, when I call it from another module it locks my computer, The off switch is the only salvation. This module when run as a stand alone, it will
1
2116
by: sholist | last post by:
I have an application that needs to conform to some finicky clients. The goal is to make the application an asp.net app and host it on the web for our clients which has many benefits as everyone knows. However, some clients will not be too happy about us hosting their data and would preffer that they deploy the applications to their desktops and host the database themseleves. So I have 2 delivery methods to contend with, but I require...
2
2354
by: =?Utf-8?B?TUs=?= | last post by:
Hello , I am developing a white board type stand-alone VB .NET application in which the .EXE application will be installed in two or more different client machines . These client machines will interact with each other in the way that during drawing with mouse using graphics on RichTextBox control used as white board , whenever the mouse_up event occurs in either client , the whole graphics on the RichTextBox will be shown on every...
3
4847
by: newsaboutgod | last post by:
I need a stand alone database for a VB.Net application on a laptop. It will have about 15,000 records in it. Frst off, if there any way to load XML in to a dataset and then run SQL against it? Maybe that would meet my need. If not, what is the best or quickest stand alone database for vb.net and a laptop?
5
1882
jinalpatel
by: jinalpatel | last post by:
We have access database which is stand alone application. It is sitted at 21 different locations including one main office. Every month the transactions are copied in to disk and sent to the main office.(sounds so outdated but it is like that!!). Then we run that cd to copy those transactions to the main office database. Each location has not more than two users who are usng this database. Question: is there any way we can built the access...
0
9476
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6053
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.