Let your. NET program out of the framework run up

Source: Internet
Author: User
Tags mscorlib virtual environment
Program

Mono is good, but he is not the Microsoft. NET Framework, at least its winforms is the same way in Java, so no matter how beautiful the user's theme, WinForm is a traditional Windows interface, As a desktop application, it seems to be out of tune.

Installation

But there are not many. NET core files (relatively, you'll find him large compared to mono)

I give my report file and it's much easier to see this than the 2MB log.

///////////////////////

Files

C:\windows\system32\mscoree.dll

C:\windows\system32\mscorier.dll

C:\windows\system32\mscories.dll

C:\windows\system32\dfshim.dll

C:\windows\system32\netfxperf.dll

These files must be placed under the system32.

C:\windows\system32\mui\0409\mscoreer.dll

C:\windows\system32\mui\0409\mscorees.dll

I guess the other versions below the MUI are also necessary.

C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089

C:\windows\assembly\gac_32\[others]

Additional components are required to be added, such as System.Windows.Forms

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll

C:\windows\microsoft.net\framework\v2.0.50727\[others]

This folder requires only Mscorjit.dll Mscorwks.dll two files to make the console work, and I haven't tried anything else.

C:\windows\winsxs\Manifests\ ...

C:\windows\winsxs\policies\ ...

C:\windows\winsxs\ ...

WinSxS has a lot of important components, the version is also very complex. Make sure one is not less. These documents support Mscorwks.dll, and mscorwks cannot be loaded without him.

////////////////////////////

Reg:

HKEY_CLASSES_ROOT\TYPELIB\{BED7F4EA-1A96-11D2-8F08-00A0C9A6186D}

hkey_classes_root\typelib\{bed7f4ea-1a96-11d2-8f08-00a0c9a6186d}\2.0 = REG_SZ, "mscorlib.dll"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\. Netframework\installroot = "Reg_sz,c:\windows\microsoft.net\framework\"

JIT can find the appropriate framework as long as the installation location is set

With these files, you can run the. NET 2.0 program. Of course this is the minimum requirement.

I'm offering these lists not to get you to your client's computer, but to be able to make a virtual environment like Thinstall for the program to run, so it's not difficult to provide thinstall functionality.

The. NET framework, he has a lot of changes to your system, just a record file has 2MB. (The. NET Framework 2.0 is installed on a WinXP SP2 virtual machine with no. NET Framework)



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.