473,320 Members | 1,933 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,320 software developers and data experts.

No .NET framework

bob
Is there any way to create a Csharp Console application that does not
require the user to have the .NET framework installed?
Nov 15 '05 #1
17 1413
bob wrote:
Is there any way to create a Csharp Console application that does not
require the user to have the .NET framework installed?


Go to thinstall.com

--
gabriel
Nov 15 '05 #2
yes...

if you're using Mircosoft Visual Studio, when you compile the solution,
you're generating MSIL Code in dlls...

when you run this code... JIT engine compiles it to a machine language, but
you lose portability, cause it will only runs in another machine with the
same configuration that yours.

i dont remember very well, but i think that u can use an utility named
nmake.exe that cames with the .Net Framework

Greetings

"gabriel" <no@no--spam.com> wrote in message
news:82***************************@msgid.meganewss ervers.com...
bob wrote:
Is there any way to create a Csharp Console application that does not
require the user to have the .NET framework installed?


Go to thinstall.com

--
gabriel

Nov 15 '05 #3
"bob" <bo*@coolgroups.com> wrote in message
news:41**************************@posting.google.c om...
Is there any way to create a Csharp Console application that does not
require the user to have the .NET framework installed?


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

Erik
Nov 15 '05 #4
> when you run this code... JIT engine compiles it to a machine
language, but you lose portability, cause it will only runs in another
machine with the same configuration that yours.


I don't see how this is relevant nor accurate.

what do you mean by "same configuration", and what do you mean by "lose
portability"? "Portability" refers to running on other platforms, .NET is
non-portable already.

--
gabriel
Nov 15 '05 #5
same configuration = same OS
loose portabilty = you cant run your app in another OS...
"gabriel" <no@no--spam.com> wrote in message
news:94***************************@msgid.meganewss ervers.com...
when you run this code... JIT engine compiles it to a machine
language, but you lose portability, cause it will only runs in another
machine with the same configuration that yours.


I don't see how this is relevant nor accurate.

what do you mean by "same configuration", and what do you mean by "lose
portability"? "Portability" refers to running on other platforms, .NET is
non-portable already.

--
gabriel

Nov 15 '05 #6
Cesar Garcia wrote:
same configuration = same OS
loose portabilty = you cant run your app in another OS...


Portability and .NET do not go int eh same sentence...
--
gabriel
Nov 15 '05 #7
have heard about mono?

"gabriel" <no@no--spam.com> wrote in message
news:8a***************************@msgid.meganewss ervers.com...
Cesar Garcia wrote:
same configuration = same OS
loose portabilty = you cant run your app in another OS...


Portability and .NET do not go int eh same sentence...
--
gabriel

Nov 15 '05 #8
"gabriel" <no@no--spam.com> wrote in message
news:8a***************************@msgid.meganewss ervers.com...
Cesar Garcia wrote:
same configuration = same OS
loose portabilty = you cant run your app in another OS...


Portability and .NET do not go int eh same sentence...


See http://www.go-mono.com/

Erik
Nov 15 '05 #9
Until Mono matures and can genuinlely be called ".NET for non-Windows" then
portability is not achieved.

I'm not being harsh on the Mono project, I'm just saying that .NET is not
portable yet.

Anyway it's a non-issue since "portability" refers to source code, not
binaries. We're talking about binaries here.

--
gabriel
Nov 15 '05 #10
I've compiled binaries on Windows and run them using Mono.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

"gabriel" <no@no--spam.com> wrote in message
news:a1***************************@msgid.meganewss ervers.com...
Until Mono matures and can genuinlely be called ".NET for non-Windows" then portability is not achieved.

I'm not being harsh on the Mono project, I'm just saying that .NET is not
portable yet.

Anyway it's a non-issue since "portability" refers to source code, not
binaries. We're talking about binaries here.

--
gabriel

Nov 15 '05 #11
That's right and so have many others. This discussion other than Jared's
post makes no sense as it does not reflect the internals of the CLR. The CLR
was designed to be multi-platform, multi-language, multi-type out of the box
and is. One only need look at the Rotor source code and docs to understand
this.

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
..NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/de...tml/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
---------------------------------------------------------------
"Jared Parsons [MSFT]" <ja******@online.microsoft.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
I've compiled binaries on Windows and run them using Mono.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights. OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

"gabriel" <no@no--spam.com> wrote in message
news:a1***************************@msgid.meganewss ervers.com...
Until Mono matures and can genuinlely be called ".NET for non-Windows"

then
portability is not achieved.

I'm not being harsh on the Mono project, I'm just saying that .NET is not portable yet.

Anyway it's a non-issue since "portability" refers to source code, not
binaries. We're talking about binaries here.

--
gabriel


Nov 15 '05 #12
Sam Gentile [MVP - C#/.NET] wrote:
That's right and so have many others. This discussion other than
Jared's post makes no sense as it does not reflect the internals of
the CLR. The CLR was designed to be multi-platform, multi-language,
multi-type out of the box and is. One only need look at the Rotor
source code and docs to understand this.


Whatever. If you would like to re-define the question to fit your answer
go ahead. The OP asked the following question: "Is there any way to
create a Csharp Console application that does not require the user to
have the .NET framework installed?"

That's what I was answering by pointing the Op to a producer of software
that allows this to happen.

As to a phylosophical discussion of .NET source code portability vs IL
assembly "portability," we could have it, but it's outside the scope of
the original question.

--
gabriel
Nov 15 '05 #13

"Cesar Garcia" <so*****@microsoft.com> wrote in message
news:u3***************@tk2msftngp13.phx.gbl...
have heard about mono?

"gabriel" <no@no--spam.com> wrote in message
news:8a***************************@msgid.meganewss ervers.com...
Cesar Garcia wrote:
same configuration = same OS
loose portabilty = you cant run your app in another OS...


Portability and .NET do not go int eh same sentence...
--
gabriel



Everytime I see this issue of .NET portability come up, someone throws mono
around. For a company to embrace .NET, it needs to be available EQUALLY on
Windows as well as Linux/Unix. Pushing mono was like MS pushing Win32s years
ago. It was a sloppy, buggy, incomplete bandaid. If you really wanted Win32
you needed to be on NT. Equally, if you want .NET you need to be on Windows.

bob

Nov 15 '05 #14
Hi,
i dont remember very well, but i think that u can use an utility named
nmake.exe that cames with the .Net Framework


Yes, there is such a tool. But even compiled you do have to have .NET
installed. That is because before starting the compiled image the loader
check all versions, etc of referenced assemblies. What you actually do using
that tool is that you skip the JITter. But the rest of the work like
loading the assemblies, loading types, versioning, etc is done as with
normal .NET applications.
--
B\rgds
100
Nov 15 '05 #15
ann
http://www.remotesoft.com/linker
-----Original Message-----
Is there any way to create a Csharp Console application that does notrequire the user to have the .NET framework installed?
.

Nov 15 '05 #16
And why should they? Besides if you want it to be portable, load vmWare on
the Unix box and move your app over - Portable...No? <Just Kidding> If you
really want to write console apps and not use any framework or other MS
libraries, then why not just use GNU and vi/emacs, etc. AFAICT, you have
port issues in both directions. To get most unix programs to run on
windows, you need something like Cygwin (or other) right?

--
William Stacey, MVP

"gabriel" <no@no--spam.com> wrote in message
news:8a***************************@msgid.meganewss ervers.com...
Cesar Garcia wrote:
same configuration = same OS
loose portabilty = you cant run your app in another OS...


Portability and .NET do not go int eh same sentence...
--
gabriel

Nov 15 '05 #17
>when you run this code... JIT engine compiles it to a machine language, bu
you lose portability, cause it will only runs in another machine with th
same configuration that yours
i dont remember very well, but i think that u can use an utility name
nmake.exe that cames with the .Net Framewor
Greeting


The above comments are totally wrong, there is no such thing as nmake.exe, there is a utility called ngen.ex
which generates the native image of the assembly to speed up the application startup. But not somehow eliminate the need of .NET framework itself.
Nov 15 '05 #18

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

Similar topics

0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
1
by: Harry Simpson | last post by:
I know I drilled down into the Windows folder\Microsoft.net\Framework\v1.1.4322 folder and looked at the version of Mscorcfg.dll to get the SP level from the version number: Mine shows...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
8
by: Blasting Cap | last post by:
I'm using VS 2005, and have a dll in some code (system.core.dll) that was included in something someone sent me to run on my system. I have production on a server using Framework 2.0 that I want...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.