| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ public IEnumerable<string> RunSourceGenerator(IEnumerable<string> additionalFile | |||
| 38 | 38 | try | |
| 39 | 39 | { | |
| 40 | 40 | var relativePathToCsProj = Path.GetRelativePath(sourceDir, csprojFile); | |
| 41 | - var name = FileUtils.ComputeHash($"{relativePathToCsProj}{Environment.NewLine}{this.GetType().Name}"); | ||
| 41 | + var name = FileUtils.ComputeHash($"{relativePathToCsProj}\n{this.GetType().Name}"); | ||
| 42 | 42 | using var tempDir = new TemporaryDirectory(Path.Join(FileUtils.GetTemporaryWorkingDirectory(out _), "source-generator"), "source generator temporary", logger); | |
| 43 | 43 | var analyzerConfigPath = Path.Combine(tempDir.DirInfo.FullName, $"{name}.txt"); | |
| 44 | 44 | var dllPath = Path.Combine(tempDir.DirInfo.FullName, $"{name}.dll"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments