Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
.NET app be able to run without Framework installed
Old 05-27-2009, 08:10 AM .NET app be able to run without Framework installed
Average Talker

Posts: 16
Trades: 0
Hi!
Is it possible to make .NET app be able to run without Framework installed?
Thank you.
Termito is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-27-2009, 04:00 PM Re: .NET app be able to run without Framework installed
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
Which framework?

The will need the CLR installed in order to run regardless.
__________________

Please login or register to view this content. Registration is FREE


Last edited by willcode4beer; 05-30-2009 at 12:34 AM..
willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 05-27-2009, 11:10 PM Re: .NET app be able to run without Framework installed
Average Talker

Posts: 16
Trades: 0
Framework is 1.1
without CLR an app can not be runable?
Termito is offline
Reply With Quote
View Public Profile
 
Old 05-30-2009, 12:36 AM Re: .NET app be able to run without Framework installed
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
.net applications compile to a bytecode that is not natively executable.

The CLR (common language runtime) is a virtual machine that executes the bytecode.
Think of it this way. The CLR is the program that runs your .net program.
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 05-30-2009, 11:17 PM Re: .NET app be able to run without Framework installed
Average Talker

Posts: 16
Trades: 0
So today there is no opportunity to pre-compile .NET app from CLR to native bytecode, isn’t it?
Termito is offline
Reply With Quote
View Public Profile
 
Old 05-30-2009, 11:19 PM Re: .NET app be able to run without Framework installed
Average Talker

Posts: 16
Trades: 0
In this case app may be runable as native code at any machines (without JITer and Image Generetor)
Termito is offline
Reply With Quote
View Public Profile
 
Old 05-31-2009, 04:04 PM Re: .NET app be able to run without Framework installed
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
There might be a CLR byte-code to native compiler out there. You'd have to do some searching. I haven't heard of one though.

The GCC supports quite a few languages (http://gcc.gnu.org/frontends.html). I've used it to build native (cross platform) applications from Java. But, AFAIK it doesn't support C# or VB. So, I guess that isn't too helpful.

What kind of app is it? What language did you use?
An option may be to port it to C++ or something.
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 06-01-2009, 06:20 AM Re: .NET app be able to run without Framework installed
Experienced Talker

Posts: 30
Name: Kulrom
Location: Republic of Macedonia
Trades: 0
You Cannot Run .net Application Without Framework Installed! Period!
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Kulrom is offline
Reply With Quote
View Public Profile Visit Kulrom's homepage!
 
Old 06-02-2009, 12:05 AM Re: .NET app be able to run without Framework installed
Average Talker

Posts: 16
Trades: 0
The app is written in C# and looks like it can't be compiled with other compiler than JITer. And what about DLLs? Does written in C# DLLs have to be compiled with JITer too?
Termito is offline
Reply With Quote
View Public Profile
 
Old 06-02-2009, 12:47 AM Re: .NET app be able to run without Framework installed
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
I'm afraid you have the same situation with the DLL's

There are some installers out there that could install the framework if it doesn't exist.

You could also look at porting your app to C++. It's not really very difficult.
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Old 06-02-2009, 05:04 AM Re: .NET app be able to run without Framework installed
Experienced Talker

Posts: 30
Name: Kulrom
Location: Republic of Macedonia
Trades: 0
managed C++ ALSO needs FW plugin installed .. no matter you have libraries or Executable's.
However FW is already standard installation to all newer OS's including Vista and Windows 7. It comes with these operating systems by default.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Kulrom is offline
Reply With Quote
View Public Profile Visit Kulrom's homepage!
 
Old 06-02-2009, 11:47 PM Re: .NET app be able to run without Framework installed
Average Talker

Posts: 16
Trades: 0
willcode4beer: thank you! very useful info.
Termito is offline
Reply With Quote
View Public Profile
 
Old 06-03-2009, 01:03 AM Re: .NET app be able to run without Framework installed
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
no problem.

Just keep in mind, you'll want to do a standard C++ app or you'll run into the issue brought up by Kulrom
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to .NET app be able to run without Framework installed
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.14334 seconds with 12 queries