无需安装.NET框架的需要创建一个独立的EXE [英] Create a standalone exe without the need to install .NET framework

查看:293
本文介绍了无需安装.NET框架的需要创建一个独立的EXE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名学生,目前我在做一家公司实习。这是实习有关分析一个项目。对于这个项目,我做了一个演示展现给营销总监。我做了演示是在Visual Studio 2010与Windows窗体和Access数据库的连接建立在C#中一个简单的项目。

I'm a student and at the moment i'm doing an internship at a company. This internship is about analysing a project. For this project I have made a demo to show to the Marketing director. The demo I have made is a simple project created in Visual Studio 2010 in c# with Windows Forms and a connection to an Access database.

所以现在我必须表明这个演示本公司董事在演示文稿,但这演示导演希望他的计算机上的项目,所以他可以尝试并使用它之后。现在的问题是,在这家公司这里的计算机没有.NET框架4.0和计算机,以便保护在这里,我们不能安装任何新的东西。要安装的东西,你必须去通过花费数周的过程。

So now i have to show this demo to this director in a presentation but after this presentation the director wants the project on his computer so he can try and use it. The problem is now that the computers here in this company don't have .NET framework 4.0 and the computers are so protected over here that we can't install anything new. To install something you have to go through a procedure that takes weeks.

我找人在互联网上,但所有我找到的是如何安装.NET Framework。

I have looked al over the internet but all i find is how to install the .NET framework.

有没有办法,我可以无需安装.NET框架的需要创建一个独立的EXE任何可能的方式?请帮忙!

Is there any possible way that I can create an standalone exe without the need to install .NET framework? Please help!

推荐答案

如果您要执行一个使用.Net框架4开发的应用程序,你需要安装.Net框架4客户端计算机上。

If you want to execute an application that is developed using Net Framework 4, you will need to have installed .Net Framework 4 on client computer.

您的应用程序中CIL(通用中间语言)编译因此它需要由框架引擎来解释。

You application is compiled in CIL (Common Intermediate Language) so It needs to be interpreted by the framework engine.

如果您要执行Java程序是一样的。你必须安装Java机器。

It is the same if you want to execute a Java program. you will have to install the Java Machine.

他们唯一的办法你不需要安装框架是程序设计的本地应用程序
与C,C ++

They only way you dont need to install frameworks is programming native applications with c,c++

这篇关于无需安装.NET框架的需要创建一个独立的EXE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆