.NET 3.5 SP1的静态链接静态、链接、NET

由网友(万能男神经i)分享简介:我有codeD,用于解决不同场景的应用程序。它使用.NET 3.5 SP1,我想,以允许用户使用该应用程序从USB驱动器。是否有可能静态链接此.NET版本,或使用它从应用程序目录就像任何其他的dll?I've coded an application that is used to troubleshoot dif...

我有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 论坛列出.NET用户可能已经拥有的版本。

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

阅读全文

相关推荐

最新文章