Commit 9181f6b
Fix SourceGenerator analyzer payload packing and bump to 6.1.2
The previous Pack output was missing the analyzers/dotnet/cs/ folder, so the source generator package could not actually function for consumers.
• move analyzer-bundled dependency packing from a Target-emitted <None Pack="true"> set (which Pack does not observe) to <TfmSpecificPackageFile> items contributed via the TargetsForTfmSpecificContentInPackage extension point — this is the documented hook for adding TFM-specific content during Pack
• condition the new PackAnalyzerDependencies target on netstandard2.0 to avoid duplicating analyzer DLLs when packing under net10.0
• include the YamlDotNet, Microsoft.Extensions.DependencyInjection.Abstractions, the source generator itself, and the core MultiLanguages library in analyzers/dotnet/cs so the generator can run inside the Roslyn host
• bump SourceGenerator package version to 6.1.2 to reflect the packaging fix
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e52e4ae commit 9181f6b
1 file changed
Lines changed: 9 additions & 8 deletions
File tree
- src/AKSoftware.Localization.MultiLanguages.SourceGenerator
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments