Commit a5331cf
committed
fix: Remove RuntimeIdentifiers from .csproj to fix NuGet tool installation
The DotnetToolSettings.xml Version="2" format was preventing installation on
.NET SDK 9.0.306 (requires 9.0.400+). Removing RuntimeIdentifiers from the
.csproj files forces Version="1" format which is compatible with SDK 9.0.306.
Changes:
- Remove <RuntimeIdentifiers> property from all tool projects
- RuntimeIdentifiers are still specified via -r flag in publish-self-contained.sh
- NuGet packages now generate DotnetToolSettings.xml Version="1"
- Tools can now be installed with: dotnet tool install -g <tool> --version <version>
This fixes the issue introduced when the publish loop was removed from pack.sh
in PR #87. The simplified pack approach triggered Version="2" format because
dotnet pack saw RuntimeIdentifiers in the .csproj files.
Fixes installation error:
'The settings file in the tool's NuGet package is invalid: Format version is
higher than supported. This tool may not be supported in this SDK version.'1 parent 0a9c6de commit a5331cf
File tree
4 files changed
+8
-8
lines changed- src
- cycodgr
- cycodmd
- cycodt
- cycod
4 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments