Visual Studio 2017 sets copyright, studio2017
How to Set copyright in visualstudio7 7: The content is as follows:
1. Set copyright for VisualStudio2017
A In team development or company development, we generally like to set copyright descriptions for the classes or interfaces we have created and Other templates. However, it is very difficult to add each class one by one, therefore, we generally set a template to implement it. When you create a class or interface in VS, These annotations are automatically added to your class or interface.
B has many ways to implement the template function on the Internet, but it is not practical in VS2017. So here I briefly summarize the instructions for adding copyright to VS2017.
C. All the copyright information for my classes and interfaces is as follows:
// ================================================ ========================================/// 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. How to Set copyright in VisualStudio2017
A first, find your installation path. If you forget your installation path, you can find it at the following address: Find the VS icon, right-click the property: pop-up:
B. Find the address drawn by the red line, copy the address, delete devenv.exe, copy the path, open my computer, copy it to the path address, and open:
C. Continue to the search path: (D: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Enterprise \ Common7 \ IDE \ ItemTemplates \ CSharp \ Code \ 2052 ), finally, we can find the class and Interface Template here ,:
D. Open the Class and Interface folders, open the following. cs file, copy the copyright to it, and click Save ,:
E. Open it with Vs2017 and find that it has implemented this function. As shown in, this simple configuration is complete here.
Every day is a little progress
If any problem exists in the article, you are welcome to point it out and I will modify it as soon as possible.
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.