Recommended VS2017 set up a copyright method instance

Source: Internet
Author: User
This article mainly for you in detail the visual Studio 2017 set up the copyright method, with a certain reference value, interested in small partners can refer to

VisualStudio2017 How to set up the copyright, the specific content is as follows

1.visualstudio2017 Set up Copyright  

A in team development or company development, we generally like to create a class or interface and other templates to set the copyright description, but each class one to add is very laborious, so generally we are set up a template to implement it, These comments are automatically added to your class or interface when you create classes or interfaces in vs.

b There are many ways to implement the function of this template, but in the VS2017 is not very practical, so here I briefly summed up the description of the VS2017 to add copyright

c I have all the copyright information for my class and interface settings such as the following:

=============================================================//Copyright (C) 2016-2100//CLR version:          $clrversion $//machine Name:          $machinename $//namespace name/file name:    $rootnamespace $/$safeitemname $//Creator:               $username $   //Creation time:            $time $//website:             http://www.chuxinm.com//==============================================================

2.visualstudio2017 How to set up copyright  

A first find your installation path, if you have forgotten your installation path, it does not matter, you can use the following address found: Find the VS icon, right-click Properties: Popup:

b Find the address drawn by the Red line, copy, delete the last devenv.exe, copy the path and then open the copy of my computer to the path address, open:

C Continue looking down, the path is as follows: (D:\Program Files (x86) \microsoft Visual Studio\2017\enterprise\common7\ide\itemtemplates\csharp\code \2052), finally find the template for the classes and interfaces that you can see here:

D Open the class and Interface folder, open the following. cs file, copy the copyright into it, and click Save:

E Next we open with Vs2017, found that it has implemented this function, if shown, here This simple configuration is done.

A little bit of progress every day.

If there is a problem with the article, please point out that I will revise it in the first time.

Related Article

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.