Visual C # The first day of the Edition Express beta is used

Source: Internet
Author: User
Tags execution
Express|visual Installation:
Under the Express Edition for a few days, the installation encountered some problems. A preview version of VS 2005 was installed in the original machine.
1.2 of the. Net framework and java# in the control panel of the security loading and unloading can be removed. The problem is that I've been asked to uninstall visual Studio. Net prerequisites, and the original installation disk was deleted earlier. The Final solution is to check the "Visual Studio. Net Prerequisites" In the registration table, find the installation file, in the original C:\WINDOWS\Installer, find the MSI file, the right button can be uninstalled.
However, install SQL 2005 always occurs when the installation file error, I do not understand why, Microsoft did not give the error message, only a wrong number, it seems that I can not test the SQL.
Set up:
Today, in C # 2005, a project under VS 2003 was opened, and a run found. Net 2.0 Beta has changed a lot compared to that 1.2. Filestream.handle and so on have been discarded.
The IDE environment is a bit different than vs 2003, which is mostly about project setup issues. There are two points to note:
1, menu tools under the options open, to the following show the all settings to play the bait.
2, to the options in the projects and Solutions--> General--> Show advanced build configurations hit the bait.
Debug:
When I compiled my project, I found that C # 2005 generated an execution file Reborn.vshost.exe in the directory, and the project's execution file was Reborn.exe.
Then I found the problem in Debug. I have the following code in my program:
??? M_thread = Thread.CurrentThread;
??? M_process = Process.getcurrentprocess ();
??? m_assembly = assembly.getentryassembly ();
??? Under normal operating conditions
??? M_process.mainmodule for Reborn.exe;
??? M_assembly.manifestmodule also for Reborn.exe;
whose value changes to when debug
??? M_process.mainmodule for Reborn.vshost.exe;
??? M_assembly.manifestmodule also for Reborn.exe;
Therefore, the use of m_process in my project will be wrong.
Why use Reborn.vshost.exe, should be to debugger Nonuser code, because now has a just my Code debug option.

?


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.