diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml
index 959ae631..6161fc1c 100644
--- a/.github/workflows/ci-pipeline.yml
+++ b/.github/workflows/ci-pipeline.yml
@@ -131,6 +131,17 @@ jobs:
pattern: '*-${{ matrix.configuration }}'
merge-multiple: true
+ - name: Fix Linux test apphost permissions
+ run: |
+ echo "Ensuring xUnit v3 test apphosts are executable on Linux..."
+ echo "Configuration: ${{ matrix.configuration }}"
+ # Dump a bit of info for debugging
+ find . -path "*/bin/${{ matrix.configuration }}/net*/*" -maxdepth 1 -type f -name "*Tests*" -print || true
+ # Actually fix permissions
+ find . -path "*/bin/${{ matrix.configuration }}/net*/*" -type f -name "*Tests*" -exec chmod +x {} +
+ echo "Permissions fixed."
+ shell: bash
+
- name: Test with ${{ matrix.configuration }} build
uses: codebeltnet/dotnet-test@v4
with:
diff --git a/Directory.Build.props b/Directory.Build.props
index 6ef62520..8514ad98 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -111,6 +111,16 @@
net10.0;net9.0
+ net10.0;net9.0
+ false
+ false
+ false
+ false
+ true
+ none
+ NU1701,NU1902,NU1903
+ false
+ false