C# Standalone??

  • Thread starter Thread starter Kailey Joanette
  • Start date Start date
K

Kailey Joanette

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
 
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.
 
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 said:
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

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
 
Seems like a market for a tool that would convert from IL or C# to C++ or
Assembly.

-Eric
 
Eric Cadwell said:
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?
 
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.
 
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
 
Back
Top