.NET 3.5 SP1的静态链接 [英] .NET 3.5 SP1 static linked

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

问题描述

我有codeD,用于解决不同场景的应用程序。它使用.NET 3.5 SP1,我想,以允许用户使用该应用程序从USB驱动器。 是否有可能静态链接此.NET版本,或使用它从应用程序目录就像任何其他的dll?

I've coded an application that is used to troubleshoot different scenarios. It is using .NET 3.5 SP1 and I'd like to allow users to use the application from a USB drive. Is it possible to static link this .NET version or to use it from the application directory like any other dll?

推荐答案

.NET是一个很大不仅仅是一个DLL多。至少它装载一吨的东西到GAC并设置了一些注册表项,我相信某些系统文件被修改为好。

.NET is a lot more than just a dll. At a minimum it loads a ton of stuff into the GAC and sets up some registry keys, I believe some system files are modified as well.

有工具,可以让你安装.NET若不是present,你应该使用其中之一。 Windows将同时自动安装它,如果有一个互联网连接,所以你不应该担心这一点了。

There are tools that will let you install .NET if it is not present, you should use one of these. Windows will also automatically install it if there is an internet connection, so you shouldn't have to worry about this too much.

下面是从MSDN <一个参考href="http://social.msdn.microsoft.com/Forums/en-US/6adeee3c-e139-4246-bf20-00e182e0e3db/run-a-net-application-without-installing-the-framework?forum=netfxsetup"相对=nofollow>论坛列出.NET用户可能已经拥有的版本。

Here is a reference from the MSDN forum that lists the versions of .NET your users may already have.

这篇关于.NET 3.5 SP1的静态链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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