diff options
author | Maxim Lipnin <v-maxlip@microsoft.com> | 2021-03-18 01:48:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 01:48:13 +0300 |
commit | 8a31e66a86ec2e8be53d0b0798ced68b9f410be3 (patch) | |
tree | 03cd0dff0fc64972bb878541198a9d4ff094e1d3 /eng/versioning.targets | |
parent | 2d0fe49001423b18b520c9fae072c81e7a11c50c (diff) |
Annotate System.Diagnostics.Process APIs throwing PNSE on iOS/tvOS (#49354)
* Process.Start
* Remove redundant annotations
* Remove iOS since it's in the default list of supported platforms
* Process.Kill
* Make Process.Kill throw PNSE on iOS/tvOS
* Annotate windows-related implementation of Kill method
Diffstat (limited to 'eng/versioning.targets')
-rw-r--r-- | eng/versioning.targets | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eng/versioning.targets b/eng/versioning.targets index 9e6d9de0718..12cad8bf7f1 100644 --- a/eng/versioning.targets +++ b/eng/versioning.targets @@ -36,11 +36,16 @@ <CrossPlatformAndHasNoBrowserTarget>true</CrossPlatformAndHasNoBrowserTarget> </PropertyGroup> - <!-- Enables browser warnings for cross platform or Brwoser targeted builds --> + <!-- Enables browser warnings for cross platform or Browser targeted builds --> <ItemGroup Condition="('$(TargetsBrowser)' == 'true' or '$(CrossPlatformAndHasNoBrowserTarget)' == 'true') and '$(IsTestProject)' != 'true'"> <SupportedPlatform Include="browser"/> </ItemGroup> + <!-- Enables warnings for tvOS targeted builds --> + <ItemGroup Condition="'$(TargetstvOS)' == 'true' and '$(IsTestProject)' != 'true'"> + <SupportedPlatform Include="tvos"/> + </ItemGroup> + <ItemGroup> <_unsupportedOSPlatforms Include="$(UnsupportedOSPlatforms)" /> </ItemGroup> |