Visual Studio 2017 sets copyright, studio2017

Source: Internet
Author: User

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.

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.