官术网_书友最值得收藏!

How to do it...

  1. Build CSharpAnalyzers solution in Visual Studio by executing the Build | Build Solution command.
  2. Open the binary output folder for the CSharpAnalyzers project (<%SolutionFolder%>\CSharpAnalyzers\bin\debug) in Windows Explorer and verify that the NuGet package for the analyzer named, CSharpAnalyzers.1.0.X.Y.nupkg, is generated in the folder.
  3. Double-click on the Diagnostic.nuspec file in the CSharpAnalyzers project in Solution Explorer to view and configure the properties of the nupkg.
  1. Rebuild the project to regenerate the nupkg with new properties.
  2. Publish the nupkg as a public or private package by following the steps listed here: https://docs.microsoft.com/en-us/nuget/create-packages/publish-a-package.

 

  1. Open the binary output folder for the CSharpAnalyzers.Vsix project (<%SolutionFolder%\CSharpAnalyzers.Vsix\bin\debug) in Windows Explorer and verify that VSIX for the analyzer named, CSharpAnalyzers.Vsix.vsix, is present in the folder.
  2. Double-click on the source.extension.vsixmanifest file in the CSharpAnalyzers.Vsix project in the Solution Explorer to view and configure the properties of the VSIX package.
  1. Rebuild the VSIX project to regerate the VSIX.
  2. Publish it to the Visual Studio Extension Gallery by following the steps listed here: https://msdn.microsoft.com/en-us/library/ff728613.aspx.
主站蜘蛛池模板: 长岛县| 西平县| 忻城县| 忻城县| 南陵县| 怀来县| 子长县| 金湖县| 曲靖市| 龙游县| 营山县| 上高县| 龙陵县| 呼伦贝尔市| 大安市| 湘乡市| 巴青县| 高要市| 新竹县| 沙河市| 鸡西市| 南召县| 武定县| 通渭县| 车致| 怀来县| 海城市| 定南县| 宜都市| 万年县| 桦南县| 陵川县| 驻马店市| 璧山县| 凤山县| 崇州市| 四平市| 河西区| 商洛市| 云阳县| 绥棱县|