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

csharp with no .NET

I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?

Nov 15 '05 #1
6 1083
*smile*. No, i dont think so.
C# is based on managed code like java. there is also no way to run java
without VM.
C# will be translated into IL which will be executed at runtime by JIT.
so if you find a chance. let me know!
regards, jazper
<an*******@coolgroups.com> schrieb im Newsbeitrag
news:3b******************************@news.scbiz.c om...
I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?

Nov 15 '05 #2
nope. c/c++ is as close as you'll get there...

<an*******@coolgroups.com> wrote in message
news:3b******************************@news.scbiz.c om...
I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?

Nov 15 '05 #3
<an*******@coolgroups.com> wrote in message
news:3b******************************@news.scbiz.c om...
I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?


I am pretty new to .NET as well ( 2 days experience :) - it's true ), but
what i understood from a good book, C# by it's nature relies on .net
framework - it's using framework classes so you coldn't really deveop
anything but:

class Empty {
static public Main() {}
};

without frameworks.
It's like you buy a car and ask if you can use a tire w/o the car itself -
yes you can, just roll it yourself :) JK

Regards,
Andrey aka MuZZy
Nov 15 '05 #4
'Roll It Yourself'? Was that a pot reference... c'mon now.. don't lie...
;)

"MuZZy" <le*******@yahoo.com> wrote in message
news:Otu_b.45479$Xp.201769@attbi_s54...
<an*******@coolgroups.com> wrote in message
news:3b******************************@news.scbiz.c om...
I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?


I am pretty new to .NET as well ( 2 days experience :) - it's true ), but
what i understood from a good book, C# by it's nature relies on .net
framework - it's using framework classes so you coldn't really deveop
anything but:

class Empty {
static public Main() {}
};

without frameworks.
It's like you buy a car and ask if you can use a tire w/o the car itself -
yes you can, just roll it yourself :) JK

Regards,
Andrey aka MuZZy

Nov 15 '05 #5

Salamander Linker will create an executable that doesn't require the
framework to be installed:
http://www.remotesoft.com/linker/

Note that it's still using the framework, but the tool above creates a
custom subset for your executable and links it in, as well as creating a few
extra files to copy (but still no installation.)

Note that there are lots of potential issues to consider before going this
route - CAS, third-party assembly compatibility, patch / runtime upgrade
deployment. However, it may also give some benefits.

It may be a bit pricey, but it's definitely worth looking at.

<an*******@coolgroups.com> wrote in message
news:3b******************************@news.scbiz.c om...
I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?

Nov 15 '05 #6
<an*******@coolgroups.com> wrote:
I'm a total novice, so please don't laugh. Is there any way
I can make a C# executable that does not rely on the .NET
framework?


See http://www.pobox.com/~skeet/csharp/f...ework.required

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

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

Similar topics

0
by: Jonathan Grobe | last post by:
From: Nigel Perry <nigel@cosc.canterbury.ac.nz> Newsgroups: news.announce.newgroups,news.groups Subject: RFD: comp.std.csharp Date: Tue, 08 Jul 2003 00:26:01 +0000 REQUEST FOR DISCUSSION (RFD)...
7
by: Eric Gunnerson | last post by:
If you would like to see this group created, please reply to this post, making sure you leave news.groups on the newsgroups line. "Nigel Perry" <nigel@cosc.canterbury.ac.nz> wrote in message...
5
by: Mr. x | last post by:
Hello, where can I find csharp tutorial/help/samples. *.chm file is preffered. Thanks :)
8
by: Nicolas | last post by:
How do I do a RaiseEvent in csharp I'm ok in VB but csharp confused me a lot. ******* code ******** private FileSystemWatcher watcher = new FileSystemWatcher(); public delegate void...
4
by: light_wt | last post by:
Hi I am taking the 2555 class and a lot of the material is over my head. I don't like the MS's book because there is no step-by-step on interacting with the VS.NET Is there good free resource...
2
by: anand | last post by:
Hi All, Are ownerdraw buttons supported in C# ? I have an active X control which I would like to use in CSharp. Buttons have a style BS_OWNERDRAW, and to do custom drawing you have to...
7
by: Peter Smirnov | last post by:
Sorry for this newbie question but as far as I heard one need at least VisualStudio to develop CSharp applications. Is this correct? Are there otherwise some command line tools like javac.exe and...
1
by: Preston | last post by:
hello all... My friend using vb.net made a DLL file which contains a Property Kkk(ByVal key As Object) in it, I use CSharp and reference this DLL file, but in csharp object browser, there is no...
2
by: news.microsoft.com | last post by:
Hi: I work in Csharp's parser files by LEX/YACC.Now I have only CSharp-lex.l and CSharp.y file,but they not have CSharp'comment Parse. this is a part of CSharp-lex.l. ........................
2
by: Karl | last post by:
Hi all, I'm reasonably new to csharp so you have to forgive me asking what may be a stupid question... As I said, I'm new to CSharp but in VB I was able to click anywhere on a DataGridView...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...

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.