diff options
| author | Edwin Török <[email protected]> | 2024-02-05 19:59:55 +0000 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-02-05 15:07:23 -0800 |
| commit | b8c921fe7dd184463f074455f8f49dd1dd7650b8 (patch) | |
| tree | ae002b1402a53186e402a16175c76b0878eb96fd /tools | |
| parent | 822480c4c8087cee38c1f268c0f85d2bcfc1f6f6 (diff) | |
fix(ci): explicitly choose a .Net version
Upstream OOXML-Validator has added support for building with .Net 8.0 in
commit 29af1086b5c78b6a213e70d2e1cb8da2a8e5b876.
But that means OOXML-Validator can now be built for both .Net 6.0 and 8.0,
so we need to pick which one we want when running, otherwise we get an
error:
```
Unable to run your project
Your project targets multiple frameworks.
Specify which framework to run using '--framework'.
```
Signed-off-by: Edwin Török <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/validate-docx2.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/validate-docx2.sh b/tools/validate-docx2.sh index 65827452e..e46180620 100644 --- a/tools/validate-docx2.sh +++ b/tools/validate-docx2.sh @@ -3,7 +3,7 @@ set -eu (for i in "$@"; do - dotnet run --configuration=Release --no-build --no-restore --project OOXML-Validator/OOXMLValidatorCLI -- "${i}" -r + dotnet run --configuration=Release --framework=net8.0 --no-build --no-restore --project OOXML-Validator/OOXMLValidatorCLI -- "${i}" -r done) >validation json_reformat -s <validation |
