473,405 Members | 2,176 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,405 software developers and data experts.

C# Standalone??

Hey guy,
Relatively experienced programmer here (4th year university), playing
more or less for the first time with .NET and C#.

I'm wondering what the quickest, most efficient, and smallest way is of
putting together a program written in C# so that it will run on a machine
without the .NET framework installed? I guess there is not faculty like
there was with VB for something like vbrun500.dll?

I would love some suggestions. I have a very small program (at the
moment, it will grow), which i would like to install on perhaps some older
machines that really can run the .NET framework. All windows machines of
course.

If you're interested in seeing the program...its really simple.
Basically its an educational aid. It creates HTML Math quizzes wit hthe
various simple operations. Go to
http://www.sourceforge.net/projects/quizgen currently the normal URL is not
up yet, so this is the temporary address.

Cheers,
Kailey
Nov 15 '05 #1
6 4377
Hi Kailey,

C# programs cannot run without the .NET framework. What you could do instead
is to re-design your quiz generator as an ASP .NET application run on some
server capable of running .NET, and all the clients will have to have only
IE installed.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Kailey Joanette" <ka******@uwo.ca> wrote in message
news:vq************@corp.supernews.com...
Hey guy,
Relatively experienced programmer here (4th year university), playing
more or less for the first time with .NET and C#.

I'm wondering what the quickest, most efficient, and smallest way is of putting together a program written in C# so that it will run on a machine
without the .NET framework installed? I guess there is not faculty like
there was with VB for something like vbrun500.dll?

I would love some suggestions. I have a very small program (at the
moment, it will grow), which i would like to install on perhaps some older
machines that really can run the .NET framework. All windows machines of
course.

If you're interested in seeing the program...its really simple.
Basically its an educational aid. It creates HTML Math quizzes wit hthe
various simple operations. Go to
http://www.sourceforge.net/projects/quizgen currently the normal URL is not up yet, so this is the temporary address.

Cheers,
Kailey


Nov 15 '05 #2
Thats what I thought... but I would like the run it without web access...so
looks like i'll just have to provide a link to the .NET framework.
Thanks...

That or write it a la C++ win32 API (oh but SOOOO much more messy :) )

Kailey

"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:OA**************@TK2MSFTNGP12.phx.gbl...
Hi Kailey,

C# programs cannot run without the .NET framework. What you could do instead is to re-design your quiz generator as an ASP .NET application run on some
server capable of running .NET, and all the clients will have to have only
IE installed.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Kailey Joanette" <ka******@uwo.ca> wrote in message
news:vq************@corp.supernews.com...
Hey guy,
Relatively experienced programmer here (4th year university), playing more or less for the first time with .NET and C#.

I'm wondering what the quickest, most efficient, and smallest way is

of
putting together a program written in C# so that it will run on a machine without the .NET framework installed? I guess there is not faculty like
there was with VB for something like vbrun500.dll?

I would love some suggestions. I have a very small program (at the
moment, it will grow), which i would like to install on perhaps some older machines that really can run the .NET framework. All windows machines of course.

If you're interested in seeing the program...its really simple.
Basically its an educational aid. It creates HTML Math quizzes wit hthe
various simple operations. Go to
http://www.sourceforge.net/projects/quizgen currently the normal URL is

not
up yet, so this is the temporary address.

Cheers,
Kailey

Nov 15 '05 #3
Seems like a market for a tool that would convert from IL or C# to C++ or
Assembly.

-Eric
Nov 15 '05 #4
Eric Cadwell <ec******@ns.insight.com> wrote:
Seems like a market for a tool that would convert from IL or C# to C++ or
Assembly.


I don't know - because sooner or later, you're going to need the
functionality that the framework provides - both in terms of libraries
and basic functionality such as threading, garbage collection etc.

Given that one of the reasons people usually cite for wanting
"standalone C#" in the first place is that the framework is too large,
what benefit would providing the C# bit in assembly but requiring
another (probably just as large) framework in order to run it give?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #5
Now what would be nice is when we get the the point of picking and chosing
our own imeplementation of the BCLs and runtimes. thats when its truely
standard, if not, its no better than java.
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Eric Cadwell <ec******@ns.insight.com> wrote:
Seems like a market for a tool that would convert from IL or C# to C++ or Assembly.


I don't know - because sooner or later, you're going to need the
functionality that the framework provides - both in terms of libraries
and basic functionality such as threading, garbage collection etc.

Given that one of the reasons people usually cite for wanting
"standalone C#" in the first place is that the framework is too large,
what benefit would providing the C# bit in assembly but requiring
another (probably just as large) framework in order to run it give?

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

Nov 15 '05 #6
Yes, it would only be a benefit if that framework was already in place.

In the case of C++, it could then be run managed or unmanaged.

-Eric
Nov 15 '05 #7

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

Similar topics

0
by: FilexBB | last post by:
Currently I use jdom-b9 version to parase xml with the following xml message <?xml version="1.0" encoding="UTF-8" standalone="no"?> ...... with the code like this SAXBuilder builder = new...
2
by: Lonnie, SRC employee | last post by:
*** post for FREE via your newsreader at post.newsfeed.com *** I can figure out how to set the standalone attribute in the <? xml version="1.0 ?> tag eg <?xml version="1.0" standalone="yes" ?> ...
9
by: Dan Williams | last post by:
Hi people I'm getting a little annoyed with the way the print function always adds a space character between print statements unless there has been a new line. The manual mentions that "In some...
3
by: Isaac Gouy | last post by:
1) Running a standalone script with SpiderMonkey on Linux js -f scriptfile.js scriptarg How can I get the value of scriptarg from within the JavaScript scriptfile? 2) Running a standalone...
0
by: tt | last post by:
My mod_python 3.1.4 installation works when Apache 2.0.54 is run in standalone mode (apache -k standalone) but refuses to operate when run as a service (apache -k restart). Logs yield the usual...
2
by: JohnR | last post by:
Hi all. In my program I try to handle all obvious potential errors with structured error handling (try-catch) block. What I would like to do is have an 'overall' error handler that would...
0
by: sdb1031 | last post by:
I'm trying to learn about Python and XML. I would like to be able to add standalone="no" to my xml declaration when writing an xml file, but I am unable to figure out how. So far, I have the...
1
by: VK | last post by:
It is possibly more suitable to address this question to W3C mailing list, but I'm trying here first. Could anyone comment on <http://www.w3.org/TR/REC-xml/#sec-rmd> The first statement says:...
7
by: tah | last post by:
Hey, Can someone please clarify, confirm, or set me straight on my understanding of a standalone="yes" attribute in the xml version element? I assume it means that the xml document containing it...
4
by: Ted Lyngmo | last post by:
Hi! I'm new (but please do continue reading) to C++ in the VS environment and wanted to create a standalone program (or preferably, a static library, compatible with other Windows compilers)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.