运行.NET .exe文件而不在每台计算机上安装完整的.NET框架 [英] Running .NET .exe file without installing complete .NET framework on each machine

查看:184
本文介绍了运行.NET .exe文件而不在每台计算机上安装完整的.NET框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是.Net Framework Redistributable Package

如何使用?

i在.net framework 2012中创建了一个.exe文件。这个.exe文件在我的运行机器非常好。

但现在我想在我的其他机器上运行相同的exe。因此可以安装.net框架和sql server2012每台机器使用该exe文件。

或者有没有为什么在没有安装.net框架的情况下运行我的exe文件。

当我在搜索答案时所以我发现了一些关于.Net Framework Redistributable Package
请告诉我如何以简单的方式解决我的问题?



我尝试了什么:



i已经在每台机器上安装了完整的.net框架。但现在我的机器变慢了

what is .Net Framework Redistributable Package
how to use ?
i have created a .exe file in .net framework 2012.this .exe file is running on my machine very well.
but now i want to run same exe on my others machines.so it is possible to install .net framework and sql server2012 each and every machine for use that exe file.
or is there any why to run my exe file without installing .net framework.
when i was searching answer about it so i found something about the.Net Framework Redistributable Package
please tell me how i can solve my problem in simplist way ?

What I have tried:

i have installed complete .net framework on each and every machine . but now my machine is getting slow

推荐答案

框架4.5 有两种类型的可再发行安装:



1.网页安装程序(需要互联网连接)

2.离线安装程序



这些可以在:安装.NET Framework [ ^ ]



我不建议使用离线安装程序,但是,安装程序似乎可以更好地安装缺少的部件。



在过去运行.NET框架应用程序时,它会自动检查是否存在.NET框架并显示一个对话框,如果没有找到它就会下载它,遗憾的是这个功能似乎在最近的版本中消失了(至少在我看来) ,如果我错了,请纠正我。)
Two types of redistributable installations for framework 4.5 are available:

1. Web installer (requires internet connection)
2. Offline installer

These can be found on: Installing the .NET Framework[^]

I would not recommend using the offline installer however, the web installer seems to do a better job to install missing parts.

In the past when running a .NET framework application it would automatically check for the presence of the .NET framework and show a dialog offering to download it if not found, sadly this functionality seems to be gone in recent versions (at least in my opinion, correct me if I'm wrong).


你必须安装你的应用程序编写的.NET Framework版本。



如果您的计算机速度变慢,那不是因为.NET Framework。除非.NET应用程序正在运行,否则它根本不会做任何事情。



Redistributable是您唯一需要的东西,除非您的应用程序使用类似SQL的东西服务器。然后你将不得不安装你的应用程序需要运行的任何其他东西。
You MUST install the .NET Framework version your application is written against.

If your machine has slowed down, it's not because of the .NET Framework. It doesn't really do anything at all unless a .NET app is running.

The Redistributable is the only thing you need, unless your app is using something like SQL Server. Then you're going to have to install anything else your app needs to run.


这篇关于运行.NET .exe文件而不在每台计算机上安装完整的.NET框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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