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

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>2020-07-08 13:59:37 +0300
committerGitHub <noreply@github.com>2020-07-08 13:59:37 +0300
commit5ce04ccc9a44b5a28b4eb1959833015ee35bea0a (patch)
treea797a9d50b82d7b262205f5b1daf912fdacd5916 /eng/targetframeworksuffix.props
parent54a09d24142864767d50c83c2a64c0e1e37a34c2 (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.props6
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>