Skip to content

Commit bc86d8c

Browse files
authored
upgrade to dotnet 10 (#1)
1 parent 1c7b2f2 commit bc86d8c

5 files changed

Lines changed: 45 additions & 32 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.6.0
2+
**Other**
3+
- Upgraded to .NET 10
4+
5+
## 0.5.3
6+
**Other**
7+
- Moved to GitHub
8+
19
## 0.5.1
210
**:sparkles: Features**
311
- Added `Test` task

Common.Build.Cake/Common.Build.Cake.csproj

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<OutputType>exe</OutputType>
4+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
65
<ImplicitUsings>enable</ImplicitUsings>
76
<Nullable>enable</Nullable>
8-
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
<OutputType>exe</OutputType>
8+
<TargetFramework>net10.0</TargetFramework>
99
</PropertyGroup>
1010

11-
<ItemGroup>
12-
<PackageReference Include="Cake.Frosting" Version="6.1.0" />
13-
<PackageReference Include="Cake.Json" Version="7.0.1"/>
14-
<PackageReference Include="JetBrains.Annotations" Version="2025.2.4">
15-
<ExcludeAssets>runtime</ExcludeAssets>
16-
</PackageReference>
17-
</ItemGroup>
18-
11+
<!-- Project References -->
1912
<ItemGroup>
2013
<ProjectReference Include="../Common.Build/Common.Build.csproj"/>
2114
<ProjectReference Include="../Common.Build.Generator/Common.Build.Generator.csproj">
@@ -24,6 +17,16 @@
2417
</ProjectReference>
2518
</ItemGroup>
2619

20+
<!-- NuGet References -->
21+
<ItemGroup>
22+
<PackageReference Include="Cake.Frosting" Version="6.1.0"/>
23+
<PackageReference Include="Cake.Json" Version="7.0.1"/>
24+
<PackageReference Include="JetBrains.Annotations" Version="2025.2.4">
25+
<ExcludeAssets>runtime</ExcludeAssets>
26+
</PackageReference>
27+
</ItemGroup>
28+
29+
<!-- Additional Files -->
2730
<ItemGroup>
2831
<None Include="../.editorconfig"/>
2932
<None Include="../.gitignore"/>
Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<LangVersion>latest</LangVersion>
4+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
65
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
7-
<IsRoslynComponent>true</IsRoslynComponent>
86
<IncludeBuildOutput>false</IncludeBuildOutput>
9-
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
<IsRoslynComponent>true</IsRoslynComponent>
8+
<LangVersion>latest</LangVersion>
9+
<TargetFramework>netstandard2.0</TargetFramework>
1010
</PropertyGroup>
1111

1212
<PropertyGroup>
13-
<PackageId>Common.Build.Generator</PackageId>
14-
<Version>12.34.56</Version>
1513
<Authors>Andrei "DetPikachu" Hava</Authors>
1614
<Company>Andrei "DetPikachu" Hava</Company>
15+
<PackageId>Common.Build.Generator</PackageId>
1716
<Product>Common.Build.Generator</Product>
17+
<Version>12.34.56</Version>
1818
</PropertyGroup>
1919

20+
<ItemGroup>
21+
<None Include="$(OutputPath)/$(AssemblyName).dll">
22+
<Pack>true</Pack>
23+
<PackagePath>analyzers/dotnet/cs</PackagePath>
24+
<Visible>false</Visible>
25+
</None>
26+
</ItemGroup>
27+
28+
<!-- NuGet References -->
2029
<ItemGroup>
2130
<PackageReference Include="JetBrains.Annotations" Version="2025.2.4">
2231
<PrivateAssets>all</PrivateAssets>
@@ -27,15 +36,7 @@
2736
<PrivateAssets>all</PrivateAssets>
2837
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2938
</PackageReference>
30-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.3.0" />
39+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0"/>
3140
</ItemGroup>
3241

33-
<ItemGroup>
34-
<None Include="$(OutputPath)/$(AssemblyName).dll">
35-
<Pack>true</Pack>
36-
<PackagePath>analyzers/dotnet/cs</PackagePath>
37-
<Visible>false</Visible>
38-
</None>
39-
</ItemGroup>
40-
4142
</Project>

Common.Build/Common.Build.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
7+
<TargetFramework>net10.0</TargetFramework>
88
</PropertyGroup>
99

1010
<PropertyGroup>
11-
<PackageId>Common.Build</PackageId>
12-
<Version>12.34.56</Version>
1311
<Authors>Andrei "DetPikachu" Hava</Authors>
1412
<Company>Andrei "DetPikachu" Hava</Company>
13+
<PackageId>Common.Build</PackageId>
1514
<Product>Common.Build</Product>
15+
<Version>12.34.56</Version>
1616
</PropertyGroup>
1717

18+
<!-- NuGet References -->
1819
<ItemGroup>
19-
<PackageReference Include="Cake.Frosting" Version="6.1.0" />
20+
<PackageReference Include="Cake.Frosting" Version="6.1.0"/>
2021
<PackageReference Include="Cake.Json" Version="7.0.1"/>
2122
<PackageReference Include="JetBrains.Annotations" Version="2025.2.4">
2223
<ExcludeAssets>runtime</ExcludeAssets>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a title="GPL-3.0" target="_blank" href="https://www.gnu.org/licenses/gpl-3.0.en.html">
55
<img alt="License Badge" src="https://img.shields.io/badge/license-GPL--3.0--or--later-blue.svg" />
66
</a>
7-
<img alt=".NET Version Badge" src="https://img.shields.io/badge/dotnet-9.0-%236F419A" />
7+
<img alt=".NET Version Badge" src="https://img.shields.io/badge/dotnet-10.0-%236F419A" />
88
<a title="CI Pipeline" target="_blank" href="https://github.com/devpikachu/Common.Build/actions">
99
<img alt="CI Status Badge" src="https://img.shields.io/github/check-runs/devpikachu/Common.Build/main" />
1010
</a>

0 commit comments

Comments
 (0)