Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ jobs:
with:
fetch-depth: 0

- name: Install .NET SDK 8.0.x, 9.0.x & 10.0.x
- name: Install .NET SDK 10.0.x
uses: actions/setup-dotnet@v6
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x

- name: Install .NET SDK
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Create a new project with specified name
dotnet new devleadconsole -n MyConsole
```

Create a new project with specified target framework `net8.0`, `net9.0`, `net10.0` or `net11.0` supported (*default `net10.0`*).
Create a new project with specified target framework `net10.0` or `net11.0` supported (*default `net10.0`*).
```PowerShell
dotnet new devleadconsole -n MyConsole --framework net8.0
dotnet new devleadconsole -n MyConsole --framework net10.0
```
6 changes: 3 additions & 3 deletions cake.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env dotnet
#:sdk Cake.Sdk@6.3.0
#:sdk Cake.Sdk@7.0.0
#:property IncludeAdditionalFiles=./build/*.cs

/*****************************
Expand All @@ -8,7 +8,7 @@
Setup(
static context => {
InstallTool("dotnet:https://api.nuget.org/v3/index.json?package=GitVersion.Tool&version=6.7.0");
InstallTool("dotnet:https://api.nuget.org/v3/index.json?package=DPI&version=2026.10.26.544");
InstallTool("dotnet:https://api.nuget.org/v3/index.json?package=DPI&version=2026.11.11.551");

var assertedVersions = context.GitVersion(new GitVersionSettings
{
Expand Down Expand Up @@ -48,7 +48,7 @@
(data, msbuildsetting) => new DotNetMSBuildSettings
{
ArgumentCustomization = args => args
.AppendQuoted("/property:TargetFrameworks=\\\"net8.0;net9.0;net10.0;net11.0\\\"")
.Append("/property:TargetFrameworks=\\\"net10.0;net11.0\\\"")
.Append(msbuildsetting.Targets.Contains("Pack") ? string.Empty : "-restore"),
}
.SetConfiguration("Release")
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"rollForward": "latestFeature",
"version": "11.0.100-rc.3.26522.148"
"version": "11.0.100"
}
}
17 changes: 4 additions & 13 deletions src/Devlead.Console.Template/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,22 @@

<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="10.1.0" />
<PackageVersion Include="Devlead.Console" Version="2026.10.26.1021" />
<PackageVersion Include="Devlead.Testing.MockHttp" Version="2026.10.26.1076" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageVersion Include="Devlead.Console" Version="2026.11.11.1030" />
<PackageVersion Include="Devlead.Testing.MockHttp" Version="2026.11.11.1083" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.12.0" />
<PackageVersion Include="NUnit" Version="5.0.0" />
<PackageVersion Include="NUnit.Analyzers" Version="4.15.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="6.3.1" />
<PackageVersion Include="Spectre.Console.Testing" Version="0.57.2" />
<PackageVersion Include="verify.Nunit" Version="33.3.4" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="8.10.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="9.10.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="10.11.0" />
</ItemGroup>

<!-- No 11.x release available yet, falls back to latest 10.x -->
<ItemGroup Condition="'$(TargetFramework)' == 'net11.0'">
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="10.11.0" />
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="11.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
"defaultValue": "net10.0",
"replaces": "TargetFrameworkValue",
"choices": [
{
"choice": "net8.0",
"description": "Target .NET 8"
},
{
"choice": "net9.0",
"description": "Target .NET 9"
},
{
"choice": "net10.0",
"description": "Target .NET 10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
"defaultValue": "net10.0",
"replaces": "TargetFrameworkValue",
"choices": [
{
"choice": "net8.0",
"description": "Target .NET 8"
},
{
"choice": "net9.0",
"description": "Target .NET 9"
},
{
"choice": "net10.0",
"description": "Target .NET 10"
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFrameworks>net10.0;net9.0;net8.0;net11.0</TargetFrameworks>
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
</PropertyGroup>
</Project>
Loading