csharp with no .NET

  • Thread starter Thread starter anonymous
  • Start date Start date
A

anonymous

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?
 
*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
 
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
 
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.
 
Back
Top