本文介绍了框架应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello To All, 我有一个问题 - 如果我复制.NET Framework的所有referance文件(例如System.dll,Systems.Windows.Forms.dll等) - 在我的项目文件夹中。 现在, 如果我的程序在另一台电脑上运行那台电脑还没有安装.NET Framework? 我试过的: 我厌倦了复制使用框架 dll。
Hello To All, I have a question that is - If i copy all referance files of .NET Framework (example System.dll,Systems.Windows.Forms.dll and etc) - on my project folder. Now, Will my program run on another pc if that pc don't have installed .NET Framework ? What I have tried: I tired to copy uses frameworks dll.
推荐答案不,它不会。您正在复制对.DLL的直接引用。问题是这些.DLL的背后还有很多,它们本身依赖于DLL,你不是在复制。 就像Rocker说的那样,只需要安装.NET Framework并完成它。没有大惊小怪,没有支持头痛。 No, it won't. You're copying the direct references to those .DLL's. The problem is there are a lot more behind those .DLL's that the DLL's themselves depend on, which you're not copying. Like was said by Rocker, just install the .NET Framework and be done with it. No fuss, no support headaches.
最好安装点网框架,你永远不知道复制的dll会有什么依赖。您最终可能会复制所有框架文件。现在更多的是它是一个可选功能。所以请安装框架。 It is better you install the dot net framework, you never know what dependencies the copied dll will have. You may end up copying all the framework files. More over now a days it is an optional features. So go with installing the framework.
更多推荐
.net框架应用程序
发布评论