复制.NET Framework DLL [英] Copying .NET Framework DLLs

查看:113
本文介绍了复制.NET Framework DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个依赖于.NET Framework 4.5的应用程序。但是,在我需要使用该程序的系统上没有安装.NET框架。此外,我也不允许安装它(政策)。是否可以将dll复制到应用程序所在的
目录中?如果是这样,我如何找出它需要哪些dll?依赖walker似乎没有列出与.NET Framework相关的dll。

I have an app that depends on the .NET Framework 4.5. However, that .NET framework is not installed on the system on which I need to use the program. Further, I am not allowed to install it, either (policy). Is it possible to just copy the dlls into the directory in which the application resides? If so, how do I find out which dlls it needs? The dependency walker doesn't seems to list .NET Framework related dlls.

推荐答案

Hi hfaum,



如果我误解你的情况/问题,请提前抱歉。
b
$
我担心复制所需的DLL很难或几乎不可能。



关于.NET Framework 作为运行时(客户端配置文件或完整包):

.NET Framework 4 / 4.5。 x / 4.6.x / 4.7.x无法在一台计算机中共存。较新版本的.NET Framework 4.x可以支持早期版本的4.x(抱歉,我无法保证所有情况)。这取决于Windows版本可以安装哪个版本的.NET Framework
...非常令人困惑...



你能提供的版本吗? .NET Framework 4.x和Windows中的计算机?

如何:确定安装了哪些.NET Framework版本

https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed



问候,
Hi hfaum,

In advance, sorry if I misunderstand your situation/question.

I'm afraid it would be hard or almost impossible for us to copy DLLs required.

about .NET Framework as a Runtime (Client Profile or Full package):
.NET Framework 4 / 4.5.x / 4.6.x / 4.7.x cannot coexist in one computer. The newer version of .NET Framework of 4.x could support the earlier version of 4.x (sorry, I cannot guarantee all cases). And it depends on Windows version which version of .NET Framework can be installed ... very confusing...

Would you provide the version of .NET Framework 4.x, and Windows in your computer?
How to: Determine Which .NET Framework Versions Are Installed
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

Regards,


这篇关于复制.NET Framework DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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