enable FileSystem.Watcher on FreeBSD (dotnet/corefx#42488)

Commit migrated from https://github.com/dotnet/corefx/commit/c88cb6e29e831097d6072a4ca467f6c890364627
This commit is contained in:
Tomas Weinfurt authored and Stephen Toub committed 2019-11-09 15:53:06 -05:00
1 parent cf0d6d1016
commit 178f0c5de7
4 files changed
+6 -4

No files matched your search

@@ -74,7 +74,7 @@
<Link>Common\Interop\Unix\Interop.PathConf.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition=" '$(TargetsLinux)' == 'true'">
<ItemGroup Condition=" '$(TargetsLinux)' == 'true' or '$(TargetsFreeBSD)' == 'true'">
<Compile Include="System\IO\FileSystemWatcher.Linux.cs" />
<Compile Include="$(CommonPath)\Interop\Linux\System.Native\Interop.INotify.cs">
<Link>Common\Interop\Linux\Interop.inotify.cs</Link>
@@ -125,7 +125,7 @@
<Link>Common\System\Text\ValueUtf8Converter.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="'$(TargetsFreeBSD)' == 'true' or '$(TargetsUnknownUnix)' == 'true'">
<ItemGroup Condition="'$(TargetsUnknownUnix)' == 'true'">
<Compile Include="System\IO\FileSystemWatcher.UnknownUnix.cs" />
</ItemGroup>
<ItemGroup>
@@ -3,7 +3,8 @@
<BuildConfigurations>
netcoreapp-Linux;
netcoreapp-OSX;
netcoreapp-FreeBSD;
netcoreapp-Windows_NT;
</BuildConfigurations>
</PropertyGroup>
</Project>
</Project>
@@ -50,6 +50,7 @@ namespace System.IO.Tests
}
[Theory]
[PlatformSpecific(~TestPlatforms.FreeBSD)]
[InlineData(1)]
[InlineData(2)]
[InlineData(3)]
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configurations>netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release</Configurations>
<Configurations>netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcore-FreeBSD-Debug;netcore-FreeBSD-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Compile Include="FileSystemWatcher.cs" />