diff options
author | Anirudh Agnihotry <anirudhagnihotry098@gmail.com> | 2020-07-08 13:59:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 13:59:37 +0300 |
commit | 5ce04ccc9a44b5a28b4eb1959833015ee35bea0a (patch) | |
tree | a797a9d50b82d7b262205f5b1daf912fdacd5916 /eng/targetframeworksuffix.props | |
parent | 54a09d24142864767d50c83c2a64c0e1e37a34c2 (diff) |
Make browser peer for windows_nt and unix (#37944)
Fixes https://github.com/dotnet/runtime/issues/38559
Diffstat (limited to 'eng/targetframeworksuffix.props')
-rw-r--r-- | eng/targetframeworksuffix.props | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eng/targetframeworksuffix.props b/eng/targetframeworksuffix.props index 61e1f5511d4..3c9b2207f7c 100644 --- a/eng/targetframeworksuffix.props +++ b/eng/targetframeworksuffix.props @@ -78,8 +78,8 @@ </When> <When Condition="'$(TargetFrameworkSuffix)' == 'Browser'"> <PropertyGroup> - <TargetsUnix>true</TargetsUnix> <TargetsBrowser>true</TargetsBrowser> + <PackageTargetRuntime>browser</PackageTargetRuntime> </PropertyGroup> </When> <When Condition="'$(TargetFrameworkSuffix)' == ''"> @@ -88,4 +88,8 @@ </PropertyGroup> </When> </Choose> + + <PropertyGroup> + <EnablePInvokeAnalyzer Condition="'$(TargetsBrowser)' == 'true'">false</EnablePInvokeAnalyzer> + </PropertyGroup> </Project> |