MK.CodeAnalysis.Analyzers 1.0.8

dotnet add package MK.CodeAnalysis.Analyzers --version 1.0.8
NuGet\Install-Package MK.CodeAnalysis.Analyzers -Version 1.0.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MK.CodeAnalysis.Analyzers" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MK.CodeAnalysis.Analyzers --version 1.0.8
#r "nuget: MK.CodeAnalysis.Analyzers, 1.0.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MK.CodeAnalysis.Analyzers as a Cake Addin
#addin nuget:?package=MK.CodeAnalysis.Analyzers&version=1.0.8

// Install MK.CodeAnalysis.Analyzers as a Cake Tool
#tool nuget:?package=MK.CodeAnalysis.Analyzers&version=1.0.8

MK.CodeAnalysis.Analyzer

目的

美凯(大连)内部用代码分析工具。

使用说明

  1. 文件头部注释检查 默认模板如下

     ```c#
     // Project:对应具体项目名称
     //
     // 此处添加文件描述
     //
     // Copyright (C) MIC All Rights Reserved.
     //
     // VerX.XXX 新規作成 (@Date @Author)
     //
     ```
    
     - 其中`// Copyright (C) MIC All Rights Reserved.`作为代码分析检查关键字,必须存在。其余部分可以自定义。
    
     - 目前支持如下变量
    
       `@Date` : 文件创建日期;
    
       `@Author`  : 系统登录用户;
    
       `@ProejctName `: 项目名称;
    
     - 模板默认位置 packages\MK.CodeAnalysis.Analyzers.x.x.x\analyzers\Template。也可将模板放置到解决方案或(sln)或项目(csproj)文件夹下。
    
       优先级 解决方案 > 项目 > 默认
    
  2. 函数头部注释检查 当函数(方法)没有头部标准VS注释时,会报MA1002警告,目前不提供修正。可以用VS标准注释完成。

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8 160 3/20/2024
1.0.6 213 9/13/2023

1.文件头注释和函数注释分析
2.函数头部注释分析