diff --git a/Build/README.md b/Build/README.md index c783bed..fb07bb5 100644 --- a/Build/README.md +++ b/Build/README.md @@ -8,7 +8,7 @@ build-locally.ps1 is designed to run on windows. To run CI build locally - install dependencies -[net8.0 sdk](https://dotnet.microsoft.com/download/dotnet/8.0), +[net10.0 sdk](https://dotnet.microsoft.com/download/dotnet/10.0), [InvokeBuild](https://www.powershellgallery.com/packages/InvokeBuild) ``` powershell diff --git a/Build/build-tasks.ps1 b/Build/build-tasks.ps1 index 9f2cdda..8b7e71c 100644 --- a/Build/build-tasks.ps1 +++ b/Build/build-tasks.ps1 @@ -17,7 +17,7 @@ Enter-Build { bin = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot '../Sources/bin')) repository = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot '../ThirdPartyLibraries')) examples = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot '../Examples')) - frameworks = 'net8.0', 'net9.0' + frameworks = 'net8.0', 'net9.0', 'net10.0' version = $( $buildProps = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot '../Sources/Directory.Build.props')) $packageVersion = (Select-Xml -Path $buildProps -XPath 'Project/PropertyGroup/DefaultPackageVersion').Node.InnerText diff --git a/Build/install-dependencies.ps1 b/Build/install-dependencies.ps1 index d181b3d..3d15caf 100644 --- a/Build/install-dependencies.ps1 +++ b/Build/install-dependencies.ps1 @@ -15,7 +15,8 @@ $ErrorActionPreference = 'Stop' if (-not $List -or ('.net' -in $List)) { $install = Join-Path $PSScriptRoot 'scripts/Install-DotNet.ps1' - & $install '8.0.403' + & $install '8.0.414' + & $install '9.0.305' & $install (Get-Content -Raw (Join-Path $PSScriptRoot '../Sources/global.json') | ConvertFrom-Json).sdk.version } diff --git a/Build/tasks/pack-manual-download.ps1 b/Build/tasks/pack-manual-download.ps1 index 0d4b89b..7bdd437 100644 --- a/Build/tasks/pack-manual-download.ps1 +++ b/Build/tasks/pack-manual-download.ps1 @@ -10,7 +10,7 @@ param( $Version, [Parameter(Mandatory = $true)] - [ValidateSet('net8.0', 'net9.0')] + [ValidateSet('net8.0', 'net9.0', 'net10.0')] [string] $Framework, diff --git a/Build/tasks/unit-test.ps1 b/Build/tasks/unit-test.ps1 index b297c13..2c8b358 100644 --- a/Build/tasks/unit-test.ps1 +++ b/Build/tasks/unit-test.ps1 @@ -6,7 +6,7 @@ param ( $BinPath, [Parameter(Mandatory = $true)] - [ValidateSet('net8.0', 'net9.0')] + [ValidateSet('net8.0', 'net9.0', 'net10.0')] [string] $Framework ) diff --git a/README.md b/README.md index 2fbfcb9..18906e3 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Table of Contents Requirements ---------------------------------------- -- tool can be installed on SDKs .NET 9.0, .NET 8.0 +- tool can be installed on SDKs .NET 10.0, .NET 9.0, .NET 8.0 - PowerShell module is compatible with Powershell Core 7.2+ - supported project format: [SDK-style](https://docs.microsoft.com/en-us/nuget/resources/check-project-format) - supported project references: [NuGet](https://www.nuget.org/) and [npm](https://www.npmjs.com) packages diff --git a/Sources/Directory.Build.props b/Sources/Directory.Build.props index 1688895..210217a 100644 --- a/Sources/Directory.Build.props +++ b/Sources/Directory.Build.props @@ -1,6 +1,6 @@ - net8.0;net9.0 + net8.0;net9.0;net10.0 Library true diff --git a/Sources/global.json b/Sources/global.json index 80e1995..a5bf76b 100644 --- a/Sources/global.json +++ b/Sources/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.300", + "version": "10.0.100", "allowPrerelease": false, "rollForward": "latestFeature" }