diff --git a/src/libraries/System.IO.FileSystem.Primitives/src/Properties/AssemblyInfo.cs b/src/libraries/System.IO.FileSystem.Primitives/src/Properties/AssemblyInfo.cs index 847e591fd0e..e08aae0294b 100644 --- a/src/libraries/System.IO.FileSystem.Primitives/src/Properties/AssemblyInfo.cs +++ b/src/libraries/System.IO.FileSystem.Primitives/src/Properties/AssemblyInfo.cs @@ -3,7 +3,6 @@ using System; using System.Reflection; -using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj b/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj new file mode 100644 index 00000000000..827fdf38d6d --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj @@ -0,0 +1,23 @@ + + + + + Debug + AnyCPU + {6C05678E-394C-4CFF-B453-A18E28C8F2C3} + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + System.IO.FileSystem.Primitives + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/src/packages.config b/src/libraries/System.IO.FileSystem.Primitives/src/packages.config new file mode 100644 index 00000000000..a3aa38e007e --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/src/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/tests/FileAccessTests.cs b/src/libraries/System.IO.FileSystem.Primitives/tests/FileAccessTests.cs new file mode 100644 index 00000000000..023c6d9044f --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/tests/FileAccessTests.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; +using Xunit; + +namespace System.IO.Tests +{ + public static class FileAccessTests + { + [Fact] + public static void ValueTest() + { + Assert.Equal(1, (int)FileAccess.Read); + Assert.Equal(2, (int)FileAccess.Write); + Assert.Equal(3, (int)FileAccess.ReadWrite); + } + } +} \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/tests/FileAttributesTests.cs b/src/libraries/System.IO.FileSystem.Primitives/tests/FileAttributesTests.cs new file mode 100644 index 00000000000..518c6c20d82 --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/tests/FileAttributesTests.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; +using Xunit; + +namespace System.IO.Tests +{ + public static class FileAttributesTests + { + [Fact] + public static void ValueTest() + { + Assert.Equal(0x0001, (int)FileAttributes.ReadOnly); + Assert.Equal(0x0002, (int)FileAttributes.Hidden); + Assert.Equal(0x0004, (int)FileAttributes.System); + Assert.Equal(0x0010, (int)FileAttributes.Directory); + Assert.Equal(0x0020, (int)FileAttributes.Archive); + Assert.Equal(0x0040, (int)FileAttributes.Device); + Assert.Equal(0x0080, (int)FileAttributes.Normal); + Assert.Equal(0x0100, (int)FileAttributes.Temporary); + Assert.Equal(0x0200, (int)FileAttributes.SparseFile); + Assert.Equal(0x0400, (int)FileAttributes.ReparsePoint); + Assert.Equal(0x0800, (int)FileAttributes.Compressed); + Assert.Equal(0x1000, (int)FileAttributes.Offline); + Assert.Equal(0x2000, (int)FileAttributes.NotContentIndexed); + Assert.Equal(0x4000, (int)FileAttributes.Encrypted); + Assert.Equal(0x8000, (int)FileAttributes.IntegrityStream); + Assert.Equal(0x20000, (int)FileAttributes.NoScrubData); + } + + } +} \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/tests/FileModeTests.cs b/src/libraries/System.IO.FileSystem.Primitives/tests/FileModeTests.cs new file mode 100644 index 00000000000..a23a3176872 --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/tests/FileModeTests.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; +using Xunit; + +namespace System.IO.Tests +{ + public static class FileModeTests + { + [Fact] + public static void ValueTest() + { + Assert.Equal(1, (int)FileMode.CreateNew); + Assert.Equal(2, (int)FileMode.Create); + Assert.Equal(3, (int)FileMode.Open); + Assert.Equal(4, (int)FileMode.OpenOrCreate); + Assert.Equal(5, (int)FileMode.Truncate); + Assert.Equal(6, (int)FileMode.Append); + } + } +} \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/tests/FileShareTests.cs b/src/libraries/System.IO.FileSystem.Primitives/tests/FileShareTests.cs new file mode 100644 index 00000000000..f03a4becaa9 --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/tests/FileShareTests.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.IO; +using Xunit; + +namespace System.IO.Tests +{ + public static class FileShareTests + { + [Fact] + public static void ValueTest() + { + Assert.Equal(0, (int)FileShare.None); + Assert.Equal(1, (int)FileShare.Read); + Assert.Equal(2, (int)FileShare.Write); + Assert.Equal(3, (int)FileShare.ReadWrite); + Assert.Equal(4, (int)FileShare.Delete); + Assert.Equal(0x10, (int)FileShare.Inheritable); + } + } +} \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/tests/System.IO.FileSystem.Primitives.Tests.csproj b/src/libraries/System.IO.FileSystem.Primitives/tests/System.IO.FileSystem.Primitives.Tests.csproj new file mode 100644 index 00000000000..046ecb1e3ac --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/tests/System.IO.FileSystem.Primitives.Tests.csproj @@ -0,0 +1,44 @@ + + + + + Debug + AnyCPU + {2EF7EFA5-F171-4CAB-8A29-32833949FD87} + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + System.IO.FileSystem.Primitives.Tests + + + true + AnyCPU + MinimumRecommendedRules.ruleset + + + AnyCPU + MinimumRecommendedRules.ruleset + + + + + + + + + + {be8ed8c1-c314-4c4e-a929-64c9c8b3552a} + XunitTraitsDiscoverers + + + {6c05678e-394c-4cff-b453-a18e28c8f2c3} + System.IO.FileSystem.Primitives + + + + + + + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.Primitives/tests/packages.config b/src/libraries/System.IO.FileSystem.Primitives/tests/packages.config new file mode 100644 index 00000000000..45ebbe58edf --- /dev/null +++ b/src/libraries/System.IO.FileSystem.Primitives/tests/packages.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.sln b/src/libraries/System.IO.FileSystem.sln new file mode 100644 index 00000000000..474b01b1bfc --- /dev/null +++ b/src/libraries/System.IO.FileSystem.sln @@ -0,0 +1,56 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30723.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.FileSystem.Primitives", "System.IO.FileSystem.Primitives\src\System.IO.FileSystem.Primitives.csproj", "{6C05678E-394C-4CFF-B453-A18E28C8F2C3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.FileSystem.Primitives.Tests", "System.IO.FileSystem.Primitives\tests\System.IO.FileSystem.Primitives.Tests.csproj", "{2EF7EFA5-F171-4CAB-8A29-32833949FD87}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.FileSystem", "System.IO.FileSystem\src\System.IO.FileSystem.csproj", "{879C23DC-D828-4DFB-8E92-ABBC11B71035}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.IO.FileSystem.Tests", "System.IO.FileSystem\tests\System.IO.FileSystem.Tests.csproj", "{57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XunitTraitsDiscoverers", "Common\tests\XunitTraitsDiscoverers\XunitTraitsDiscoverers.csproj", "{BE8ED8C1-C314-4C4E-A929-64C9C8B3552A}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{4B06330D-B839-4D9B-AC32-D510B7AB9FB9}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{613515D7-B799-4EB8-B262-C54A2279C77B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6C05678E-394C-4CFF-B453-A18E28C8F2C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C05678E-394C-4CFF-B453-A18E28C8F2C3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C05678E-394C-4CFF-B453-A18E28C8F2C3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C05678E-394C-4CFF-B453-A18E28C8F2C3}.Release|Any CPU.Build.0 = Release|Any CPU + {2EF7EFA5-F171-4CAB-8A29-32833949FD87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2EF7EFA5-F171-4CAB-8A29-32833949FD87}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2EF7EFA5-F171-4CAB-8A29-32833949FD87}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2EF7EFA5-F171-4CAB-8A29-32833949FD87}.Release|Any CPU.Build.0 = Release|Any CPU + {879C23DC-D828-4DFB-8E92-ABBC11B71035}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {879C23DC-D828-4DFB-8E92-ABBC11B71035}.Debug|Any CPU.Build.0 = Debug|Any CPU + {879C23DC-D828-4DFB-8E92-ABBC11B71035}.Release|Any CPU.ActiveCfg = Release|Any CPU + {879C23DC-D828-4DFB-8E92-ABBC11B71035}.Release|Any CPU.Build.0 = Release|Any CPU + {57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5}.Release|Any CPU.Build.0 = Release|Any CPU + {BE8ED8C1-C314-4C4E-A929-64C9C8B3552A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BE8ED8C1-C314-4C4E-A929-64C9C8B3552A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BE8ED8C1-C314-4C4E-A929-64C9C8B3552A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BE8ED8C1-C314-4C4E-A929-64C9C8B3552A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {2EF7EFA5-F171-4CAB-8A29-32833949FD87} = {4B06330D-B839-4D9B-AC32-D510B7AB9FB9} + {57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5} = {4B06330D-B839-4D9B-AC32-D510B7AB9FB9} + {BE8ED8C1-C314-4C4E-A929-64C9C8B3552A} = {613515D7-B799-4EB8-B262-C54A2279C77B} + {613515D7-B799-4EB8-B262-C54A2279C77B} = {4B06330D-B839-4D9B-AC32-D510B7AB9FB9} + EndGlobalSection +EndGlobal diff --git a/src/libraries/System.IO.FileSystem/src/Properties/AssemblyInfo.cs b/src/libraries/System.IO.FileSystem/src/Properties/AssemblyInfo.cs index 08126ab0951..09da2a2240c 100644 --- a/src/libraries/System.IO.FileSystem/src/Properties/AssemblyInfo.cs +++ b/src/libraries/System.IO.FileSystem/src/Properties/AssemblyInfo.cs @@ -3,7 +3,6 @@ using System; using System.Reflection; -using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj b/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj new file mode 100644 index 00000000000..79eb0ab9a50 --- /dev/null +++ b/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj @@ -0,0 +1,139 @@ + + + + + Debug + AnyCPU + {879C23DC-D828-4DFB-8E92-ABBC11B71035} + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + System.IO.FileSystem + true + + + $(NoWarn);414 + + + + $(DefineConstants);USE_OVERLAPPED + + + true + AnyCPU + MinimumRecommendedRules.ruleset + + + AnyCPU + MinimumRecommendedRules.ruleset + + + + True + True + Strings.resx + + + + + + + + + + + + + + + + + + + + + + Common\System\SR.cs + + + Common\System\IO\StringBuilderCache.cs + + + Common\System\IO\StreamAsyncHelper.cs + + + Common\System\IO\TaskHelpers.cs + + + Common\System\IO\PathInternal.cs + + + + + + + + + + + + + + + Common\System\__HResults.cs + + + Common\System\IO\Win32Marshal.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Common\Interop\Interop.CoreFileIO.Unix.cs + + + Common\Interop\Interop.Errors.Unix.cs + + + Common\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs + + + + + + + + {6c05678e-394c-4cff-b453-a18e28c8f2c3} + System.IO.FileSystem.Primitives + + + + + ResXFileCodeGenerator + Strings.Designer.cs + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem/src/packages.config b/src/libraries/System.IO.FileSystem/src/packages.config new file mode 100644 index 00000000000..f70af951ef3 --- /dev/null +++ b/src/libraries/System.IO.FileSystem/src/packages.config @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm.cs new file mode 100644 index 00000000000..3843c24b91e --- /dev/null +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm.cs @@ -0,0 +1,188 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; +using System.IO; +using Xunit; + +namespace System.IO.FileSystem.Tests +{ + public class FileStream_ctor_str_fm : FileSystemTest + { + [Fact] + public void NullPathThrows() + { + Assert.Throws(() => new FileStream(null, FileMode.Open)); + } + + [Fact] + public void EmptyPathThrows() + { + Assert.Throws(() => new FileStream(String.Empty, FileMode.Open)); + } + + [Fact] + public void DirectoryThrows() + { + Assert.Throws(() => new FileStream(".", FileMode.Open)); + } + + [Fact] + public void InvalidModeThrows() + { + Assert.Throws(() => new FileStream(GetTestFilePath(), ~FileMode.Open)); + } + + [Fact] + public void FileModeCreate() + { + using (FileStream fs = new FileStream(GetTestFilePath(), FileMode.Create)) + { } + } + + [Fact] + public void FileModeCreateExisting() + { + string fileName = GetTestFilePath(); + using (FileStream fs = new FileStream(fileName, FileMode.Create)) + { + fs.WriteByte(0); + } + + using (FileStream fs = new FileStream(fileName, FileMode.Create)) + { + // Ensure that the file was re-created + Assert.Equal(0L, fs.Length); + Assert.Equal(0L, fs.Position); + Assert.Equal(true, fs.CanRead); + Assert.Equal(true, fs.CanWrite); + } + } + + [Fact] + public void FileModeCreateNew() + { + using (FileStream fs = new FileStream(GetTestFilePath(), FileMode.CreateNew)) + { } + } + + [Fact] + public void FileModeCreateNewExistingThrows() + { + string fileName = GetTestFilePath(); + using (FileStream fs = new FileStream(fileName, FileMode.CreateNew)) + { + fs.WriteByte(0); + Assert.Equal(true, fs.CanRead); + Assert.Equal(true, fs.CanWrite); + } + + Assert.Throws(() => new FileStream(fileName, FileMode.CreateNew)); + } + + [Fact] + public void FileModeOpenThrows() + { + Assert.Throws(() => new FileStream(GetTestFilePath(), FileMode.Open)); + } + + [Fact] + public void FileModeOpenExisting() + { + string fileName = GetTestFilePath(); + using (FileStream fs = new FileStream(fileName, FileMode.Create)) + { + fs.WriteByte(0); + } + + using (FileStream fs = new FileStream(fileName, FileMode.Open)) + { + // Ensure that the file was re-opened + Assert.Equal(1L, fs.Length); + Assert.Equal(0L, fs.Position); + Assert.Equal(true, fs.CanRead); + Assert.Equal(true, fs.CanWrite); + } + } + + [Fact] + public void FileModeOpenOrCreate() + { + using (FileStream fs = new FileStream(GetTestFilePath(), FileMode.OpenOrCreate)) + {} + } + + [Fact] + public void FileModeOpenOrCreateExisting() + { + string fileName = GetTestFilePath(); + using (FileStream fs = new FileStream(fileName, FileMode.Create)) + { + fs.WriteByte(0); + } + + using (FileStream fs = new FileStream(fileName, FileMode.OpenOrCreate)) + { + // Ensure that the file was re-opened + Assert.Equal(1L, fs.Length); + Assert.Equal(0L, fs.Position); + Assert.Equal(true, fs.CanRead); + Assert.Equal(true, fs.CanWrite); + } + } + + [Fact] + public void FileModeTruncateThrows() + { + Assert.Throws(() => new FileStream(GetTestFilePath(), FileMode.Truncate)); + } + + [Fact] + public void FileModeTruncateExisting() + { + string fileName = GetTestFilePath(); + using (FileStream fs = new FileStream(fileName, FileMode.Create)) + { + fs.WriteByte(0); + } + + using (FileStream fs = new FileStream(fileName, FileMode.Truncate)) + { + // Ensure that the file was re-opened and truncated + Assert.Equal(0L, fs.Length); + Assert.Equal(0L, fs.Position); + Assert.Equal(true, fs.CanRead); + Assert.Equal(true, fs.CanWrite); + } + } + + [Fact] + public void FileModeAppend() + { + using (FileStream fs = new FileStream(GetTestFilePath(), FileMode.Append)) + { } + } + + [Fact] + public void FileModeAppendExisting() + { + string fileName = GetTestFilePath(); + using (FileStream fs = new FileStream(fileName, FileMode.Create)) + { + fs.WriteByte(0); + } + + using (FileStream fs = new FileStream(fileName, FileMode.Append)) + { + // Ensure that the file was re-opened and position set to end + Assert.Equal(1L, fs.Length); + Assert.Equal(1L, fs.Position); + Assert.Equal(false, fs.CanRead); + Assert.Equal(true, fs.CanSeek); + Assert.Equal(true, fs.CanWrite); + Assert.Throws(() => fs.Seek(-1, SeekOrigin.Current)); + Assert.Throws(() => fs.ReadByte()); + } + } + } +} diff --git a/src/libraries/System.IO.FileSystem/tests/FileSystemTest.cs b/src/libraries/System.IO.FileSystem/tests/FileSystemTest.cs new file mode 100644 index 00000000000..67816e16bcb --- /dev/null +++ b/src/libraries/System.IO.FileSystem/tests/FileSystemTest.cs @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System; +using System.IO; +using System.Runtime.CompilerServices; + +namespace System.IO.FileSystem.Tests +{ + public abstract class FileSystemTest : IDisposable + { + public string TestDirectory { get; private set; } + + public FileSystemTest() + { + // Use a unique test directory per test class + TestDirectory = Path.Combine(Directory.GetCurrentDirectory(), GetType().Name); + + try + { + Directory.CreateDirectory(TestDirectory); + } + catch { } // Don't want this to crash the test, we'll fail appropriately in other test cases if Directory.Create is broken. + } + + // Generates a test file path to use that is unique name per test case / call + public string GetTestFilePath([CallerMemberName]string fileName = null, [CallerLineNumber] int lineNumber = 0) + { + return Path.Combine(TestDirectory, String.Format("{0}_{1}", fileName ?? "testFile", lineNumber)); + } + + public void Dispose() + { + Dispose(true); + GC.SuppressFinalize(this); + } + + protected void Dispose(bool disposing) + { + // if (disposing) no managed resources + + // clean up non-managed resources + try + { + Directory.Delete(TestDirectory, true); + } + catch { } + } + } +} diff --git a/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj b/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj new file mode 100644 index 00000000000..6eeddd7e85a --- /dev/null +++ b/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {57E8F8D4-0766-4CC7-B3F9-B243B81DB6A5} + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + System.IO.FileSystem.Tests + + + true + AnyCPU + MinimumRecommendedRules.ruleset + + + AnyCPU + MinimumRecommendedRules.ruleset + + + + + + + + + + {be8ed8c1-c314-4c4e-a929-64c9c8b3552a} + XunitTraitsDiscoverers + + + {6c05678e-394c-4cff-b453-a18e28c8f2c3} + System.IO.FileSystem.Primitives + + + {879c23dc-d828-4dfb-8e92-abbc11b71035} + System.IO.FileSystem + True + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem/tests/packages.config b/src/libraries/System.IO.FileSystem/tests/packages.config new file mode 100644 index 00000000000..30dc21964f8 --- /dev/null +++ b/src/libraries/System.IO.FileSystem/tests/packages.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file