Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Mahmoud Sayed <tarekms@microsoft.com>2017-02-09 02:32:53 +0300
committerGitHub <noreply@github.com>2017-02-09 02:32:53 +0300
commit15b4f51c2f3cb924840e5407bb8d5fe03bb282ea (patch)
treec820f338e7ad9b2ec11c5e508d1d2ef3f44ce798 /src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
parent61ac3777213b2b6b9713e1ad77c891007ae1ba2a (diff)
Enable tests to compile with netstandard (#15956)
* Enable tests to compile with netstandard Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile. This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration The changes include some fixes to compile teh sources too. * Fix System.Collections.Immutable * update src configuration * remove netstandard17 defines * Split netcoreapp code to its own files * Remove 17 from the test class name
Diffstat (limited to 'src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj')
-rw-r--r--src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj b/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
index 7a9804bb94..af56d5851d 100644
--- a/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
+++ b/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
@@ -31,6 +31,12 @@
<Link>Common\System\Runtime\Serialization\Formatters\BinaryFormatterHelpers.cs</Link>
</Compile>
</ItemGroup>
+ <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
+ <Compile Include="File\AppendAsync.cs" />
+ <Compile Include="File\ReadWriteAllLinesAsync.cs" />
+ <Compile Include="File\ReadWriteAllBytesAsync.cs" />
+ <Compile Include="File\ReadWriteAllTextAsync.cs" />
+ </ItemGroup>
<ItemGroup>
<!-- Rewritten -->
<Compile Include="DirectoryInfo\GetSetAttributes.cs" />
@@ -82,16 +88,12 @@
<Compile Include="FileStream\ctor_str_fm_fa.cs" />
<Compile Include="FileStream\ctor_str_fm.cs" />
<Compile Include="File\Append.cs" />
- <Compile Include="File\AppendAsync.cs" />
<Compile Include="File\Create.cs" />
<Compile Include="File\Delete.cs" />
<Compile Include="File\GetSetAttributes.cs" />
<Compile Include="File\Move.cs" />
- <Compile Include="File\ReadWriteAllBytesAsync.cs" />
- <Compile Include="File\ReadWriteAllLinesAsync.cs" />
<Compile Include="File\ReadWriteAllText.cs" />
<Compile Include="File\ReadWriteAllLines.cs" />
- <Compile Include="File\ReadWriteAllTextAsync.cs" />
<Compile Include="PathFeatures.cs" />
<Compile Include="TestData.cs" />
<Compile Include="Tfm.cs" />