From 46c23e7d7dc2d58351327916fe8cbf4174f9fa75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Sat, 16 Jul 2022 21:25:42 +0900 Subject: [PATCH] Fix System.IO.FileSystem.DisabledFileLocking.Tests with NativeAOT (#72311) https://github.com/dotnet/runtime/issues/72310 tracks supporting runtimeconfig.template.json. Use the MSBuild property instead as that one works. --- .../System.IO.FileSystem.DisabledFileLocking.Tests.csproj | 3 +++ .../DisabledFileLockingTests/runtimeconfig.template.json | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/runtimeconfig.template.json diff --git a/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj b/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj index 78e57f4ae8877..e8deebe6fb9f7 100644 --- a/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj +++ b/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj @@ -33,4 +33,7 @@ + + + diff --git a/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/runtimeconfig.template.json b/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/runtimeconfig.template.json deleted file mode 100644 index c118f2a0a0a0b..0000000000000 --- a/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/runtimeconfig.template.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "configProperties": { - "System.IO.DisableFileLocking": true - } -}