Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions LibLouis.NET.sln

This file was deleted.

5 changes: 5 additions & 0 deletions LibLouis.NET.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Solution>
<Project Path="LibLouis.NET.Tables/LibLouis.NET.Tables.csproj" />
<Project Path="LibLouis.NET.Test/LibLouis.NET.Test.csproj" />
<Project Path="LibLouis.NET/LibLouis.NET.csproj" />
</Solution>
9 changes: 9 additions & 0 deletions PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ to the metapackage — nothing else in the repository depends on the choice.
`Directory.Build.props` is the single source of truth for the upstream version and its checksum;
the shell scripts read the values back out of it.

The solution is `LibLouis.NET.slnx`, the XML solution format, which needs a .NET SDK of 9.0.200 or
later. An older SDK does not report that usefully: SDK 8 fails with `MSB4068: The element <Solution>
is unrecognized`, which does not obviously mean the SDK is too old.

There is deliberately no `global.json` declaring that floor. It would apply to every `dotnet`
invocation in the repository, including inside the build container, which runs an older SDK and
never touches the solution — it packs individual project files, which any SDK handles. Pinning the
floor globally to satisfy one script would force the container's image up for no reason.

| Command | Produces |
| --- | --- |
| `./build.sh` | Linux + Windows runtime packages and the metapackage, via the container. |
Expand Down
4 changes: 2 additions & 2 deletions build/build_managed_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ if [ -n "${NUGET_LOCAL_FEED:-}" ]; then
restore_args="-p:RestoreAdditionalProjectSources=$NUGET_LOCAL_FEED"
fi

dotnet build --configuration Release $restore_args "$REPO_ROOT/LibLouis.NET.sln"
dotnet build --configuration Release $restore_args "$REPO_ROOT/LibLouis.NET.slnx"

if [ -z "${SKIP_TESTS:-}" ]; then
dotnet test --configuration Release --no-build "$REPO_ROOT/LibLouis.NET.sln"
dotnet test --configuration Release --no-build "$REPO_ROOT/LibLouis.NET.slnx"
fi

dotnet pack --configuration Release --no-build \
Expand Down
118 changes: 0 additions & 118 deletions runtime.liblouis.crosscompile.sln

This file was deleted.

Loading