From eb85acaeb85bb608404ec1944605632a7f59bfc0 Mon Sep 17 00:00:00 2001 From: hadashiA Date: Thu, 18 Jan 2024 17:55:50 +0900 Subject: [PATCH] Add comments --- src/NuGetForUnity/Editor/NugetAssetPostprocessor.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/NuGetForUnity/Editor/NugetAssetPostprocessor.cs b/src/NuGetForUnity/Editor/NugetAssetPostprocessor.cs index b043076a..852379d2 100644 --- a/src/NuGetForUnity/Editor/NugetAssetPostprocessor.cs +++ b/src/NuGetForUnity/Editor/NugetAssetPostprocessor.cs @@ -36,8 +36,15 @@ public class NugetAssetPostprocessor : AssetPostprocessor /// private const string AnalyzersFolderName = "analyzers"; - private static readonly string AnalyzersRoslynVersionsFolderName = Path.Join("analyzers", "dotnet"); - private static readonly string AnalyzersRoslynVersionSubFolderPrefix = Path.Join("analyzers", "dotnet", "roslyn"); + /// + /// Folder of root before the version of analyzers was split. + /// + private static readonly string AnalyzersRoslynVersionsFolderName = Path.Join(AnalyzersFolderName, "dotnet"); + + /// + /// Prefix for roslyn versioning of dll asset path. + /// + private static readonly string AnalyzersRoslynVersionSubFolderPrefix = Path.Join(AnalyzersRoslynVersionsFolderName, "roslyn"); /// /// Used to mark an asset as already processed by this class.