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:
authorBuyaa <bunamnan@microsoft.com>2021-02-04 08:09:07 +0300
committerGitHub <noreply@github.com>2021-02-04 08:09:07 +0300
commite0da256fa4e00afab8eba1c896ae1c7d116841c3 (patch)
tree63ce0fb477244f12ff07f0ec07b19a9d2ebbb359 /eng/versioning.targets
parentb274ca74dd389d505f1ccd3efc9c8efd2ce9f214 (diff)
Update the analyzer version in runtime and enable the TFM attributes on browser build (#47789)
* Remove logic for removing TFM target supported attributes for browser build, use latest analyzer
Diffstat (limited to 'eng/versioning.targets')
-rw-r--r--eng/versioning.targets4
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/versioning.targets b/eng/versioning.targets
index 2eede86003f..468f236c5f4 100644
--- a/eng/versioning.targets
+++ b/eng/versioning.targets
@@ -158,8 +158,8 @@
</Target>
- <!-- Removes assembly level attributes for Browser. -->
- <Target Name="RemoveSupportedPlatformAssemblyAttributeForBrowser" AfterTargets="GetAssemblyAttributes" Condition="'$(TargetFrameworkSuffix)' == 'Browser' or '$(IsTestProject)' == 'true'">
+ <!-- Removes assembly level attributes from test projects. -->
+ <Target Name="RemoveSupportedOSPlatformAttributeFromTestProjects" AfterTargets="GetAssemblyAttributes" Condition="'$(IsTestProject)' == 'true'">
<ItemGroup>
<AssemblyAttribute Remove="System.Runtime.Versioning.SupportedOSPlatformAttribute" />
<AssemblyAttribute Remove="System.Runtime.Versioning.TargetPlatformAttribute" />