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

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.
主站蜘蛛池模板: 株洲县| 贡觉县| 芦溪县| 神农架林区| 吴川市| 修武县| 嵊泗县| 阿拉善盟| 英吉沙县| 江门市| 洮南市| 宜宾市| 横峰县| 马公市| 沂南县| 鞍山市| 青海省| 通榆县| 台前县| 浏阳市| 周口市| 商洛市| 任丘市| 芦溪县| 罗江县| 巴青县| 丹江口市| 商河县| 盱眙县| 四平市| 珲春市| 高密市| 灵川县| 富顺县| 云阳县| 田东县| 钟山县| 隆回县| 永春县| 宁武县| 高雄市|