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.