Disconnects the C # program run anywhere from the. NET Framework framework Environment

Source: Internet
Author: User
Tags virtual environment

To run a k c # program, install more than M. NET Framework ..... As a result, I found that there are many ways to be lazy. The experiment is summarized as follows:

Ready-made tools include:

(1) postbuidle or vas of Xenocode

(2) Salamander. NET Linker.
(3) framework linker previously developed by MaxToCode, molebox and thinstall packaging tools supporting registry simulation and file simulation.
(1) it seems that a virtual machine environment is used to simulate the Registry Information and file information required by the framework. The native code generation function called by Xenocode actually refers to this function. I feel that the compatibility is not very good.
(2) It is a Remotesoft product and does not seem to be downloadable, but its compatibility seems to be good. Mobile's Feixin software leverages its core.
(3) The Remotesoft Kernel File is actually used, and a loader is implemented by yourself. It seems that earlier kernel files are used, and the compatibility is not very good.
I checked the materials and tested them according to the data method. I found that there was a good method. I recorded it and recorded it:

First, download and install Apsara. There is a VMDotNet directory in the installation directory (if installed by default, it is located in C: \ Program Files \ China Mobile \ Fetion ).

Copy the Directory and put it together with your C # program. Run the following command when the. net Framework is not installed:

FetionVM.exe path/C # Program

The FetionVM.exe file can be found in the VMDotNet directory.
This is the loader of the virtual environment. You can directly pass your. Net program as a command line parameter to FetionVM.exe to execute your program in this virtual environment. . Net program.

You can write a Startup Program by yourself. First, check whether the framework is installed. If so, you can run the program directly. Otherwise, the virtual environment is called to run.

According to data records: This Startup Program also has FeitionFX.exe. If you do not want to write it yourself, you can directly use Feition.exe in the installation directory of Feition.exe. However, your own. Net program name must be FeitionFX.exe. Run Feition.exe in the same directory as Feition.exe.

In addition, if you are right. . Net program uses encryption protection. Pay attention to the majority of the currently available applications. The Assembly encrypted by the. Net encryption tool cannot run in this virtual environment.

In addition to being able to achieve this. In addition to running the. net Framework.. net program is running in the specified version.. net Framework.. net Framework.. net program running in this virtual framework ).

It is often necessary to run itself on another machine.. net program. I have to explain to others again and again why I had to install a big guy over m on his computer before running the program. Now I can finally get rid of this embarrassment!

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.