Skip to content

Commit

Permalink
remove support for old TFMs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarolf committed Oct 9, 2022
1 parent 4a2c9d4 commit 56d32ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 27 deletions.
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<!-- This repo version -->
<VersionPrefix>4.0.0</VersionPrefix>
<NugetPackagePrefix>1.1.2</NugetPackagePrefix>
<NugetPackagePrefix>2.0.0</NugetPackagePrefix>
<PreReleaseVersionLabel>beta1</PreReleaseVersionLabel>
<!-- Opt-in repo features -->
<UsingToolVSSDK>true</UsingToolVSSDK>
Expand Down
4 changes: 1 addition & 3 deletions src/Microsoft.CodeAnalysis.Testing/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
<PropertyGroup>
<!--
netcoreapp3.1: Ensures full support for nullable reference types
netstandard1.5/net452: Roslyn 1.x
netstandard1.5/net46: Roslyn 2.x
netstandard2.0/net472: Roslyn 3.x
-->
<TestingLibraryTargetFrameworks>netcoreapp3.1;netstandard1.5;netstandard2.0;net46;net472</TestingLibraryTargetFrameworks>
<TestingLibraryTargetFrameworks>netcoreapp3.1;netstandard2.0;net472</TestingLibraryTargetFrameworks>

<!--
netcoreapp3.1: Ensures full support for nullable reference types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,10 @@
<PackageTags>Roslyn Analyzer Test Framework Common</PackageTags>
</PropertyGroup>

<Choose>
<When Condition="'$(TargetFramework)' == 'net452'">
<PropertyGroup>
<NuGetApiVersion>4.5.3</NuGetApiVersion>
</PropertyGroup>
</When>
<When Condition="'$(TargetFramework)' == 'net46'">
<PropertyGroup>
<NuGetApiVersion>4.9.4</NuGetApiVersion>
</PropertyGroup>
</When>
<When Condition="'$(TargetFramework)' == 'netstandard1.5'">
<PropertyGroup>
<NuGetApiVersion>4.6.4</NuGetApiVersion>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<NuGetApiVersion>6.3.0</NuGetApiVersion>
</PropertyGroup>
</Otherwise>
</Choose>

<PropertyGroup>
<NuGetApiVersion>6.3.0</NuGetApiVersion>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.CodeFix.Testing" />
Expand Down
2 changes: 1 addition & 1 deletion tests/Microsoft.CodeAnalysis.Testing/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<PropertyGroup>
<TestTargetFrameworks>netcoreapp3.1;net472;net46</TestTargetFrameworks>
<TestTargetFrameworks>netcoreapp3.1;net472</TestTargetFrameworks>
<SourceGeneratorTestTargetFrameworks>netcoreapp3.1;net472</SourceGeneratorTestTargetFrameworks>

<!-- Workaround dependencies that do not yet support netcoreapp3.1 https://github.com/dotnet/roslyn/issues/45114 -->
Expand Down

0 comments on commit 56d32ed

Please sign in to comment.