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

How to run a .NET program on a computer that does not have .NET framework installed?

2
hi guys i am new here and i just need some help on something...i have a running c.sharp application on my computer(computer A). This computer has the whole visual studio 2008 and .Net environment. I finished creating a program but now i want to run the program on another computer(computer B). This other computer does not have any Visual studio or .Net framework...jow do i run my program on another computer(computer B) that does not have any programming environment??
Jul 14 '10 #1
4 2563
You can't. The computer needs the .NET Framework installed.
Jul 14 '10 #2
Myztro
2
i dont like the sound of that because i just dont understand. I mean what is the point of creating programs with c# when they only run on my computer and others with .Net framework. What if i wanted to write a program for my client, that will help my clients, but they dont have .net framework?...
Jul 17 '10 #3
GaryTexmo
1,501 Expert 1GB
There may be a way to compile C# code to include the .NET libraries compiled right into the executable, but I'm sure it's not really supported by Microsoft.

I googled C# native compiler and found a link to this...

http://www.remotesoft.com/

Maybe try others? I have no idea how well this works so you'll have to do the digging on your own.

For what it's worth, most computers running Windows have .NET on them now. It's kind of an expected install. I think Windows 7 even puts it on as a part of windows update, but I'm not 100% sure on it so don't quote me.

If this is a huge issue, I'd honestly consider doing your programs in ANSI C++. C# is kinda like Java... it's just expected that you have the required frameworks/libraries installed.
Jul 17 '10 #4
Joseph Martell
198 Expert 128KB
The analogy that GaryTexmo gave of the .Net library being like hte Java virtual machine is VERY appropriate. The point of the .Net framework is to give you a base to work from. The .Net framework provides your .Net code with everything from streams to the basic data types of your language via the CTS (int is the same as System.int32).

You can distribute the .Net compact framework with your code so that your customers don't have to download anything, but if the .Net framework requirement is really irksome a different language (not .Net based) would be another option. I have never tried compiling C# code into a native executable, so I cannot speak to the effectiveness of that.
Jul 19 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: thomasamillergoogle | last post by:
I am going to be distributing a shareware application soon and would like to know what percentage of MS OS machines have the framework installed. I have looked in multiple places (google,...
11
by: bart | last post by:
Hello, I'm so sorry, but i don't understand the concept of the .net environment yet. I made a simple program that retrieves the hostname and ipaddress of the local computer. But when i give...
3
by: Lubos | last post by:
Hi, How can i make this. When i maked a program in C# and then when the program is execute on computer without .NET Framework, how can i automaticaly invoke instalation of Framework after execute...
3
by: Hugo Mind | last post by:
Hi, Is there a way through the web to find out if a client has the framework 1.1 installed ? I want people to download an installer for our software which includes the framework 1.1 if they...
8
by: typingcat | last post by:
Microsoft Internet Explorer sends a user agent string contains .NET Framework version if it is installed. But not all the users use MSIE. Some people use FireFox or Opera. Is there any way to check...
3
by: zZ | last post by:
Hi All, I need to detect the framework installed from both VB.Net and VB6. Can someone give me an hint? Thanks for any tip. Kind regards, Zen
2
by: holysmokes99 | last post by:
I am developing a component in .Net 1.1, and want to debug it using the "start external program" of the debugger in the IDE. The program I want to start references both 1.1 and 2.0 components. The...
1
by: stmfc | last post by:
i see many tutorials,discussions etc. on java frameworks like struts and spring, and also some other frameworks for other languages. but still i cannot figure out what does "framework" mean? is...
0
by: Steve Kennedy | last post by:
Anyone know of (or have a screenshot of) the message given when a user tries to run an a .NET application, but does not have the .NET framework installed? It's been so long, and I rarely deal with...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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.