diff --git a/.github/workflows/build-cli.yml b/.github/workflows/build-cli.yml index f64efb46..d3741523 100644 --- a/.github/workflows/build-cli.yml +++ b/.github/workflows/build-cli.yml @@ -35,7 +35,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore src/ExcelMcp.CLI/ExcelMcp.CLI.csproj @@ -46,13 +46,13 @@ jobs: - name: Verify CLI build run: | # Check excelcli main executable - if (Test-Path "src/ExcelMcp.CLI/bin/Release/net10.0/excelcli.exe") { + if (Test-Path "src/ExcelMcp.CLI/bin/Release/net9.0/excelcli.exe") { Write-Output "✅ excelcli.exe built successfully" - $version = (Get-Item "src/ExcelMcp.CLI/bin/Release/net10.0/excelcli.exe").VersionInfo.FileVersion + $version = (Get-Item "src/ExcelMcp.CLI/bin/Release/net9.0/excelcli.exe").VersionInfo.FileVersion Write-Output "Version: $version" # Test CLI help command (safe - no Excel COM required) - $helpOutput = & "src/ExcelMcp.CLI/bin/Release/net10.0/excelcli.exe" --help + $helpOutput = & "src/ExcelMcp.CLI/bin/Release/net9.0/excelcli.exe" --help if ($helpOutput -match "Excel Command Line Interface") { Write-Output "✅ CLI help command working" Write-Output "📋 Help output preview: $($helpOutput | Select-Object -First 3 | Out-String)" @@ -78,4 +78,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: ExcelMcp-CLI-${{ github.sha }} - path: src/ExcelMcp.CLI/bin/Release/net10.0/ \ No newline at end of file + path: src/ExcelMcp.CLI/bin/Release/net9.0/ \ No newline at end of file diff --git a/.github/workflows/build-mcp-server.yml b/.github/workflows/build-mcp-server.yml index b812577e..088c14d5 100644 --- a/.github/workflows/build-mcp-server.yml +++ b/.github/workflows/build-mcp-server.yml @@ -35,7 +35,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore src/ExcelMcp.McpServer/ExcelMcp.McpServer.csproj @@ -46,13 +46,13 @@ jobs: - name: Verify MCP Server build run: | # Check MCP Server executable - if (Test-Path "src/ExcelMcp.McpServer/bin/Release/net10.0/Sbroenne.ExcelMcp.McpServer.exe") { + if (Test-Path "src/ExcelMcp.McpServer/bin/Release/net9.0/Sbroenne.ExcelMcp.McpServer.exe") { Write-Output "✅ Sbroenne.ExcelMcp.McpServer.exe built successfully" - $mcpVersion = (Get-Item "src/ExcelMcp.McpServer/bin/Release/net10.0/Sbroenne.ExcelMcp.McpServer.exe").VersionInfo.FileVersion + $mcpVersion = (Get-Item "src/ExcelMcp.McpServer/bin/Release/net9.0/Sbroenne.ExcelMcp.McpServer.exe").VersionInfo.FileVersion Write-Output "📦 MCP Server Version: $mcpVersion" # Check for MCP server.json configuration - if (Test-Path "src/ExcelMcp.McpServer/bin/Release/net10.0/.mcp/server.json") { + if (Test-Path "src/ExcelMcp.McpServer/bin/Release/net9.0/.mcp/server.json") { Write-Output "✅ MCP server.json configuration found" } else { Write-Warning "⚠️ MCP server.json configuration not found" @@ -69,4 +69,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: ExcelMcp-MCP-Server-${{ github.sha }} - path: src/ExcelMcp.McpServer/bin/Release/net10.0/ \ No newline at end of file + path: src/ExcelMcp.McpServer/bin/Release/net9.0/ \ No newline at end of file diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fee45de8..94831d3b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -56,7 +56,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 9.0.x # Initializes the CodeQL tools for scanning - name: Initialize CodeQL diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 0d38a272..1a8180e4 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 9.0.x - name: Extract version from tag id: version diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 6200e459..d3bbb638 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 9.0.x - name: Update CLI Version run: | @@ -60,11 +60,11 @@ jobs: New-Item -ItemType Directory -Path "release/ExcelMcp-CLI-$version" -Force # Copy CLI files - Copy-Item "src/ExcelMcp.CLI/bin/Release/net10.0/excelcli.exe" "release/ExcelMcp-CLI-$version/" - Copy-Item "src/ExcelMcp.CLI/bin/Release/net10.0/excelcli.dll" "release/ExcelMcp-CLI-$version/" - Copy-Item "src/ExcelMcp.CLI/bin/Release/net10.0/Sbroenne.ExcelMcp.Core.dll" "release/ExcelMcp-CLI-$version/" - Copy-Item "src/ExcelMcp.CLI/bin/Release/net10.0/excelcli.runtimeconfig.json" "release/ExcelMcp-CLI-$version/" - Copy-Item "src/ExcelMcp.CLI/bin/Release/net10.0/*.dll" "release/ExcelMcp-CLI-$version/" -Exclude "excelcli.dll", "Sbroenne.ExcelMcp.Core.dll" + Copy-Item "src/ExcelMcp.CLI/bin/Release/net9.0/excelcli.exe" "release/ExcelMcp-CLI-$version/" + Copy-Item "src/ExcelMcp.CLI/bin/Release/net9.0/excelcli.dll" "release/ExcelMcp-CLI-$version/" + Copy-Item "src/ExcelMcp.CLI/bin/Release/net9.0/Sbroenne.ExcelMcp.Core.dll" "release/ExcelMcp-CLI-$version/" + Copy-Item "src/ExcelMcp.CLI/bin/Release/net9.0/excelcli.runtimeconfig.json" "release/ExcelMcp-CLI-$version/" + Copy-Item "src/ExcelMcp.CLI/bin/Release/net9.0/*.dll" "release/ExcelMcp-CLI-$version/" -Exclude "excelcli.dll", "Sbroenne.ExcelMcp.Core.dll" # Copy documentation Copy-Item "docs/CLI.md" "release/ExcelMcp-CLI-$version/README.md" @@ -100,7 +100,7 @@ jobs: $quickStartContent += "- **GitHub**: https://github.com/sbroenne/mcp-server-excel`n`n" $quickStartContent += "## Requirements`n`n" $quickStartContent += "- Windows OS with Microsoft Excel installed`n" - $quickStartContent += "- .NET 10.0 runtime`n" + $quickStartContent += "- .NET 9.0 runtime`n" $quickStartContent += "- Excel 2016+ (for COM interop)`n`n" $quickStartContent += "## Features`n`n" $quickStartContent += "- 40+ Excel automation commands`n" @@ -162,7 +162,7 @@ jobs: $releaseNotes += "``````n`n" $releaseNotes += "### Requirements`n" $releaseNotes += "- Windows OS with Microsoft Excel installed`n" - $releaseNotes += "- .NET 10.0 runtime`n" + $releaseNotes += "- .NET 9.0 runtime`n" $releaseNotes += "- Excel 2016+ (for COM interop)`n`n" $releaseNotes += "### Documentation`n" $releaseNotes += "- Complete Command Reference: COMMANDS.md in package`n" diff --git a/.github/workflows/release-mcp-server.yml b/.github/workflows/release-mcp-server.yml index 0fbfe5e0..ac10753e 100644 --- a/.github/workflows/release-mcp-server.yml +++ b/.github/workflows/release-mcp-server.yml @@ -20,7 +20,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 9.0.x - name: Update MCP Server Version run: | @@ -81,7 +81,7 @@ jobs: New-Item -ItemType Directory -Path "release/ExcelMcp-MCP-Server-$version" -Force # Copy MCP Server files - Copy-Item "src/ExcelMcp.McpServer/bin/Release/net10.0/*" "release/ExcelMcp-MCP-Server-$version/" -Recurse + Copy-Item "src/ExcelMcp.McpServer/bin/Release/net9.0/*" "release/ExcelMcp-MCP-Server-$version/" -Recurse # Copy documentation Copy-Item "README.md" "release/ExcelMcp-MCP-Server-$version/" @@ -111,7 +111,7 @@ jobs: $readmeContent += "- Excel Development Focus - Power Query, VBA, worksheets`n`n" $readmeContent += "## Requirements`n`n" $readmeContent += "- Windows OS with Microsoft Excel installed`n" - $readmeContent += "- .NET 10.0 runtime`n" + $readmeContent += "- .NET 9.0 runtime`n" $readmeContent += "- Excel 2016+ (for COM interop)`n`n" $readmeContent += "## License`n`n" $readmeContent += "MIT License - see LICENSE file for details.`n" @@ -166,7 +166,7 @@ jobs: $releaseNotes += "- excel_vba - VBA script management (list, export, import, update, run, delete)`n`n" $releaseNotes += "### Requirements`n" $releaseNotes += "- Windows OS with Microsoft Excel installed`n" - $releaseNotes += "- .NET 10.0 runtime`n" + $releaseNotes += "- .NET 9.0 runtime`n" $releaseNotes += "- Excel 2016+ (for COM interop)`n`n" $releaseNotes += "### Documentation`n" $releaseNotes += "- Configuration Guide: See README.md in package`n" diff --git a/global.json b/global.json index d03a95c4..f6cd5f7e 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "10.0.100-rc.1.25451.107", + "version": "9.0.306", "rollForward": "latestFeature" } } \ No newline at end of file