Visual C # 2005 Express Edition Beta's first day

zhaozj2021-02-16  59

Installation: After a few days of Express Edition, some problems have been encountered. The preview of the VS 2005 is installed in the original machine. 1.2 .NET FRAMEWORK and JAVA #, etc. can be removed in the installation uninstallation of the control panel. The problem is always going to uninstall Visual Studio .NET Prerequisites, the original installation disk was early deleted. The final solution is to check "Visual Studio .Net Prerequisites" in the registry, find the installation file, which is originally in the C: / Windows / Installer, find that MSI file, and click the right button to uninstall. However, when installing SQL 2005, the installation file is always an error, just don't understand why, Microsoft has not given an error message, only one error number, it seems that I can't try SQL. Setting: Today, I opened a VS 2003 project in C # 2005, and one run was found .Net 2.0 Beta has changed a lot than that 1.2. FileStream.Handle is abandoned. The IDE environment varies more than VS 2003, it is a bit unhefeit, mainly some project settings. There are two points to pay attention: 1. Once the options under the menu Tools are open, you should hook the following show all settings. 2. Top hooks on Projects and Solutions -> General -> Show Advanced Build Configurations in Options. Debug: When compiling my project, I found that C # 2005 generated a executable file Reborn.vshost.exe in the directory, and the execution file of the project was reborn.exe. Then I found the problem when Debug. There is the following code in my program: ??? m_thread = thread.currentthread; ??? m_process = process.getCurrentProcess (); ??? m_assembly = askEMBLY.GETENTRYSSEMBLY (); ??? In normal operation?????? m_process.mainmodule is Reborn.exe; ??? m_assembly.manifestModule is also reborn.exe; its value changed to ??? m_process.mainmodule as reborn.vshost.exe; ??? m_assembly.manifestModule also for Reborn. So I will have an error in M_Process in my project. Why use reborn.vshost.exe, it should be for Debugger Nonuser Code, because now has a Just My Code's debug option.

?

转载请注明原文地址:https://www.9cbs.com/read-17960.html

New Post(0)