Commit 692d3aa
fix(packaging): publish Fallout.VisualStudio.SolutionPersistence; bump to 10.3 (#107)
Fallout.SolutionModel 10.2.24 through 10.2.34 are unrestorable: the
wrapper csproj for the vendored SolutionPersistence fork was marked
IsPackable=false, so dotnet pack fell back to emitting a dependency on
the assembly name (Microsoft.VisualStudio.SolutionPersistence) at the
Fallout version (10.2.x). That ID exists on nuget.org (real Microsoft
package, max 1.0.52) but the 10.2.x versions don't, so restore fails
for any consumer of Fallout.SolutionModel, Fallout.Common,
Fallout.Build, Fallout.ProjectModel, or Fallout.Components.
Fix:
- Make src/Fallout.VisualStudio.SolutionPersistence/ packable as
Fallout.VisualStudio.SolutionPersistence (PackageId set explicitly;
AssemblyName stays Microsoft.VisualStudio.SolutionPersistence for
drop-in type identity). Initial ID reservation (0.0.1-reserve) was
uploaded manually to nuget.org to claim the ID under the Fallout.*
prefix — see [[project_nuget_prefix_gotcha]]. CI's PushPackageFiles
filter only excludes Nuke.*, so the wrapper now flows through.
- Bump version.json from 10.2 → 10.3 so the fixed line is clearly
delineated from the broken 10.2.24–34 range (which will be unlisted
on nuget.org as a follow-up).
- Update docs/dependencies.md vendored-source row to note the package
now ships to nuget.org alongside the rest of Fallout.*.
Fallout.SourceGenerators is unaffected: its ProjectReference to the
wrapper uses PrivateAssets="all" and it bundles the DLL into the
analyzer payload, so no public Microsoft.* dep ever leaked.
Verification: dotnet pack on the wrapper produces a clean nupkg;
Fallout.SolutionModel.nuspec now declares
`<dependency id="Fallout.VisualStudio.SolutionPersistence" ... />`
instead of the bogus Microsoft.* reference.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8e2f273 commit 692d3aa
3 files changed
Lines changed: 9 additions & 3 deletions
File tree
- docs
- src/Fallout.VisualStudio.SolutionPersistence
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments