Experience Visual Studio 2015 Windows Forms Application Development and Maintenance

Source: Internet
Author: User
Tags reflector microsoft help

Experience Visual Studio 2015 Windows Forms Application Development and Maintenance

I had not waited for Visual Studio 2015 in the middle of the night, so I had to take a rest. The Time Zone in North America is later than that in Beijing. This morning, Visual Studio 2015 was displayed at the company, and Visual Studio 2015 was quickly downloaded to the computer for a try.

As an old programmer, I don't care about ASP. NET 5's cross-platform architecture. Over the past six years, I have been sticking to the Windows Forms platform. Windows Forms stops updating very early. I think this is a good thing. When the company tried to select an ORM development Framework, it had considered the Entity Framework. However, the Framework was updated too frequently, and the company did not have the energy to improve. Even after EF was fully open-source, the company had no time to maintain such a complex set of code. The company needed stable technology, so it chose LLBL Gen Pro. This framework has almost stopped updating, but its Technical Support is still in progress. If something goes wrong, submit a Post on the website and a technician will reply soon, this experience is quite good.

Waiting for a long time. NET Native, Visual Studio 2015 is still limited to the Universal Window Application program, it seems that the desktop program compilation cost machine code is not feasible, microsoft has no plans to compile Windows Forms code into local code.

The installation program of Visual Studio 2015 is slightly changed. C #, C ++, and VB are installed by default. After installation, the version is 14.0.23107.

After the installation is complete, the. NET 4.0 directory In the. NET directory is replaced (In-Place Update), and the new version is v4.0.30319.

The configuration file of csc.exe is modified, pointing to a new directory.

<?xml version ="1.0"?><configuration>    <startup useLegacyV2RuntimeActivationPolicy="true">        <supportedRuntime version="v4.0.30319"/>    </startup></configuration>

. NET 4.5 does not support XP/Windows Server 2003, and there should be no reason to migrate to. NET 4.6 For a little syntactic sugar.

 

1. response speed of the Form Designer

There is no obvious improvement, which is equivalent to the speed at which Visual Studio 2013 opens the form design. Since Visual Studio 2012 has greatly improved the efficiency of the Form Designer, it is curious about the efficiency of each new version of Visual Studio Form Designer and is expected to change.

2. The control version in the toolbox is. NET 4.0.

3. In the Project menu, Refresh the menu Items of the current Project Toolbox, Project-> Refresh Project Toolbox Items.

Some Windows Forms projects contain components or controls. By default, IDE identifies and displays them in the toolbox. The time to refresh the toolbox is after the project is compiled. You can click this menu item to refresh it manually.

4. The intelligent prompt (intelliisense) Sub-menu under the Edit menu has one more drop-down menu item, Refresh type reference, Eidt-> intelliisense-> Refresh Remote References Ctrl + Shift + J

5. added the Resource View in Other Windows (Other Windows) under the View menu ),

View-> Other Windows-> Resource View Ctrl + Shift + E. This form displays the types defined in all projects in the current solution, it is similar to a Class View, but there are only three layers of nodes. The first layer is the project name, the third layer is the project namespace, and the third layer is the type definition under the namespace, double-click the type definition to jump to the type definition file.

In the development process, after the Assembly compilation is complete, I will use. NET Reflector check whether the namespace and type in the Assembly are standardized, whether there will be meaningless namespaces and types such as WindowsApplication1 and Consolse1, this function saves use. NET Reflector time.

6. Add the tag form Bookmarks in Other Windows (Other Windows) under the View menu. View-> Other Windows-> Bookmark Windows Ctrl + K, Ctrl + W

The tag name can be customized. For example, you can change the tag name to CNBLOGS.

 

7. A Pending change form Pending Checkins is added to the View menu. View-> Pending Checkins may also be available in earlier versions of Visual Studio, however, this version of the pending change form supports Visual SourceSafe2005. I usually configure Visual SourceSafe 2005 for standalone programming. This version of IED still supports Visual SourceSafe 2005 and supports viewing pending changes.

8. Add the Profiler menu item under the Debug menu to start the performance analysis tool.

 

9 The MSDN Library program version is Microsoft Help Viewer 2.2. It supports offline or online installation. No MSDN Library for Visual Studio 2015 is found today. One unpleasant thing about Visual Studio 2013 is that it lacks Offline help files (Offline) and is often referenced directly to Visual Studio 2012 help files, microsoft has never considered providing this version of offline help files. We hope Visual Studio 2015 can have a formal help document.

 

The 10 error window supports filtering. For example, you can filter error messages by project or by document.

Where the information is displayed on the right, you can select Build Only, intelliisense Only or Build + intelliisense.

 

11. When Debugging Debug is added, Start Diagnostics Tools Without Debugging ..).

This menu also appears in the sub-menu items described in Article 1, as shown in the following figure:

The two menu points are opened on the same interface, which is a bit confusing for Microsoft's design. Another thing that puzzles me is the Splash form of Visual Studio 2015. See the following figure:

Why do we need this area marked by a red box. I think the Splash form of Visual Studio 2010 is well designed.

The Splash form of Visual Studio 2008 also shows which components (C #, VB, AND Crystal Report) are installed. This design can also be understood, however, I do not understand the purpose of this blank space in Visual Studio 2012.

I have learned so many improvements for the moment, because. NET 4.5 deployment problems, coupled with Visual Studio functionality is relatively perfect (starting from Visual Studio2010), sales of Visual Studio in this version are worrying.

-------------------------------------- Split line --------------------------------------

Visual Studio Code simple trial

Visual Studio 2010 & Help Library Manager installation instructions

How to configure OpenCV 2.3.x/2.4.x in Visual Studio 2005/2008 and Visual Studio 2010

Use the opencv-2.4.0.exe file to compile the x86 or x64 platform Visual Studio 2005/2008/2010 target file

Visual Studio LightSwitch supports HTML5 and JavaScript

Visual Studio 11: use C ++ to develop a simplest Metro application

-------------------------------------- Split line --------------------------------------

Visual Studio details: click here
Visual Studio: click here

This article permanently updates the link address:

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.