[wasm] Mark System.IO.IsolatedStorage APIs as unsupported on Browser (#41700)
authorMitchell Hwang <mitchhwang1418@gmail.com>
Fri, 4 Sep 2020 20:09:09 +0000 (16:09 -0400)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 20:09:09 +0000 (22:09 +0200)
* [wasm] System.IO.IsolatedStorage enable platform attributes

* Mark System.IO.IsolatedStorage Unsupported at assembly level

Co-authored-by: Mitchell Hwang <mitchell.hwang@microsoft.com>
src/libraries/System.IO.IsolatedStorage/Directory.Build.props

index 63f02a0..ce244cb 100644 (file)
@@ -2,5 +2,7 @@
   <Import Project="..\Directory.Build.props" />
   <PropertyGroup>
     <StrongNameKeyId>Microsoft</StrongNameKeyId>
+    <IncludePlatformAttributes>true</IncludePlatformAttributes>
+    <UnsupportedOSPlatforms>browser</UnsupportedOSPlatforms>
   </PropertyGroup>
 </Project>
\ No newline at end of file