|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFramework>netstandard2.0</TargetFramework> |
| 3 | + <TargetFramework>net6.0</TargetFramework> |
4 | 4 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
5 | 5 | <IncludeSymbols>true</IncludeSymbols> |
6 | 6 | <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
|
30 | 30 | <ItemGroup> |
31 | 31 | <AdditionalFiles Include="stylecop.json" /> |
32 | 32 | </ItemGroup> |
| 33 | + <!-- |
| 34 | + CCG0007 asks for netcoreapp3.1 + net5.0 when depending on Cake.Core 2.x |
| 35 | + (those are Cake.Core 2.0.0's TFMs alongside net6.0). Both are past EOL, |
| 36 | + so we ship net6.0 only — the sole runtime installable from |
| 37 | + `actions/setup-dotnet` in our `[ windows-2025, ubuntu-24.04 ]` matrix. |
| 38 | + CCG0009 ("recommended Cake 6.0.0") stays as a warning — we're on |
| 39 | + Cake.Core 2.0.0 for this release, it resolves at the eventual 6.0.0. |
| 40 | + --> |
| 41 | + <ItemGroup> |
| 42 | + <CakeContribGuidelinesOmitTargetFramework Include="netcoreapp3.1" /> |
| 43 | + <CakeContribGuidelinesOmitTargetFramework Include="net5.0" /> |
| 44 | + </ItemGroup> |
33 | 45 | <ItemGroup> |
34 | 46 | <PackageReference Include="Cake.Addin.Analyzer" Version="0.1.3"> |
35 | 47 | <PrivateAssets>all</PrivateAssets> |
36 | 48 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
37 | 49 | </PackageReference> |
38 | | - <PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" /> |
| 50 | + <PackageReference Include="Cake.Core" Version="2.0.0" PrivateAssets="All" /> |
39 | 51 | <PackageReference Include="CakeContrib.Guidelines" Version="1.7.0" PrivateAssets="All" /> |
40 | 52 | <PackageReference Include="IDisposableAnalyzers" Version="4.0.8"> |
41 | 53 | <PrivateAssets>all</PrivateAssets> |
|
0 commit comments