| 
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">  | 
2 | 2 |   <!-- To reduce build times, we only enable analyzers for the newest TFM -->  | 
3 | 3 |   <PropertyGroup>  | 
4 |  | -    <TargetFrameworks>net47;netcoreapp2.1;netcoreapp3.0;netstandard2.0;netstandard2.1</TargetFrameworks>  | 
 | 4 | +    <TargetFrameworks>net47;net6.0;netcoreapp2.1;netcoreapp3.0;netstandard2.0;netstandard2.1</TargetFrameworks>  | 
5 | 5 |     <SignAssembly>True</SignAssembly>  | 
6 | 6 |     <AssemblyOriginatorKeyFile>FluentAssertions.snk</AssemblyOriginatorKeyFile>  | 
7 | 7 |     <GenerateDocumentationFile>true</GenerateDocumentationFile>  | 
 | 
31 | 31 |     <Copyright>Copyright Dennis Doomen 2010-2020</Copyright>  | 
32 | 32 |     <LangVersion>9.0</LangVersion>  | 
33 | 33 |   </PropertyGroup>  | 
34 |  | -  <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">  | 
 | 34 | +  <PropertyGroup Condition="'$(TargetFramework)' != 'net6.0'">  | 
35 | 35 |     <RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>  | 
36 | 36 |     <RunAnalyzersDuringLiveAnalysis>false</RunAnalyzersDuringLiveAnalysis>  | 
37 | 37 |     <RunAnalyzers>false</RunAnalyzers>  | 
 | 
65 | 65 |   <ItemGroup Condition=" !('$(TargetFramework)' == 'net47' Or '$(TargetFramework)' == 'netstandard2.0') ">  | 
66 | 66 |     <Compile Remove="SystemExtensions.cs" />  | 
67 | 67 |   </ItemGroup>  | 
68 |  | -  <ItemGroup Condition=" '$(TargetFramework)' == 'net47' Or '$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.0' ">  | 
 | 68 | +  <ItemGroup Condition=" '$(TargetFramework)' == 'net47' Or '$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.0' Or '$(TargetFramework)' == 'net6.0' ">  | 
69 | 69 |     <Compile Remove="Common/NullConfigurationStore.cs" />  | 
70 | 70 |   </ItemGroup>  | 
71 |  | -  <ItemGroup Condition=" !('$(TargetFramework)' == 'net47' Or '$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.0') ">  | 
 | 71 | +  <ItemGroup Condition=" !('$(TargetFramework)' == 'net47' Or '$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp3.0' Or '$(TargetFramework)' == 'net6.0') ">  | 
72 | 72 |     <Compile Remove="Common/AppSettingsConfigurationStore.cs" />  | 
73 | 73 |     <Compile Remove="Common/ConfigurationStoreExceptionInterceptor.cs" />  | 
74 | 74 |   </ItemGroup>  | 
 | 
83 | 83 |   <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">  | 
84 | 84 |     <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.0" />  | 
85 | 85 |   </ItemGroup>  | 
 | 86 | +  <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">  | 
 | 87 | +    <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.0" />  | 
 | 88 | +  </ItemGroup>  | 
86 | 89 |   <ItemGroup Condition="'$(TargetFramework)' == 'net47'">  | 
87 | 90 |     <PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.0" />  | 
88 | 91 |     <PackageReference Include="System.Net.Http" Version="4.3.4" />  | 
 | 
91 | 94 |     <Reference Include="System.Xml" />  | 
92 | 95 |     <Reference Include="System.Xml.Linq" />  | 
93 | 96 |   </ItemGroup>  | 
94 |  | -  <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">  | 
 | 97 | +  <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">  | 
95 | 98 |     <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3">  | 
96 | 99 |       <PrivateAssets>all</PrivateAssets>  | 
97 | 100 |       <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>  | 
 | 
0 commit comments