VS 自动添加版权信息,.CS文件模板修改

VS2019企业版

.CS文件模板修改

默认.CS文件模板路径:

"C:Program Files (x86)Microsoft Visual Studio2019EnterpriseCommon7IDEItemTemplatesCSharpCode2052ClassClass.cs"

/** 版本信息模板在安装目录下,可自行修改。
* $safeitemrootname$.cs
*
* 功 能:N/A
* 类 名:类名说明
* Ver 创建日期:$time$ 创建人:$username$ 变更内容
* Ver 变更日期: 负责人: 变更内容
* ───────────────────────────────────
* V0.01 $time$ N/A 初版
*/
using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
$endif$using System.Text;
$if$ ($targetframeworkversion$ >= 4.5)using System.Threading.Tasks;
$endif$
namespace $rootnamespace$
{
class $safeitemrootname$
{
}
}

原文地址:https://www.cnblogs.com/ChenRihe/p/15358748.html