diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 99238f3..adaee01 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,10 +22,10 @@ jobs:
with:
fetch-depth: 0
- - name: Install .NET Core
- uses: actions/setup-dotnet@v3
+ - name: Install .NET
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 6.0.x
+ dotnet-version: 10.0.x
- name: Build
- run: dotnet publish
\ No newline at end of file
+ run: dotnet publish .\PSCommander.slnx
diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml
index afd9cab..e825830 100644
--- a/.github/workflows/production.yml
+++ b/.github/workflows/production.yml
@@ -19,16 +19,16 @@ jobs:
with:
fetch-depth: 0
- - name: Install .NET Core
- uses: actions/setup-dotnet@v3
+ - name: Install .NET
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 6.0.x
+ dotnet-version: 10.0.x
- name: Build
- run: dotnet publish -o pscommander
+ run: dotnet publish .\pscommander\pscommander.csproj -o pscommander
- name: Release
run: Publish-Module -Path .\pscommander -NuGetApiKey $Env:APIKEY
env:
APIKEY: ${{ secrets.IMS_PSGALLERY }}
- shell: pwsh
\ No newline at end of file
+ shell: pwsh
diff --git a/AGENTS.md b/AGENTS.md
index 0ce3fb1..5b6f6a6 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -13,7 +13,7 @@ The solution has two projects:
## Important files and directories
-- `PSCommander.sln`: solution entry point.
+- `PSCommander.slnx`: solution entry point.
- `pscommander\PSCommander.psm1`: public PowerShell cmdlet functions such as `New-CommanderHotKey`, `New-CommanderSchedule`, `Start-Commander`, and `Register-CommanderDataSource`.
- `pscommander\PSCommander.psd1`: PowerShell module manifest.
- `pscommander\App.xaml.cs`: command-line argument parsing. Secondary invocations forward file association, shortcut, context menu, and protocol commands over named pipes.
@@ -28,7 +28,7 @@ The solution has two projects:
Run commands from the repository root unless noted.
```powershell
-dotnet restore .\PSCommander.sln
+dotnet restore .\PSCommander.slnx
dotnet publish
```
@@ -41,7 +41,7 @@ dotnet publish .\pscommander\pscommander.csproj
dotnet build .\pscommander.models\pscommander.models.csproj
```
-This is a Windows-only WPF app (`net6.0-windows`, `UseWPF`, `UseWindowsForms`). Do not assume Linux/macOS validation will work.
+This is a Windows-only WPF app (`net10.0-windows`, `UseWPF`, `UseWindowsForms`). Do not assume Linux/macOS validation will work.
## Runtime behavior to preserve
diff --git a/PSCommander.sln b/PSCommander.sln
deleted file mode 100644
index 3382b49..0000000
--- a/PSCommander.sln
+++ /dev/null
@@ -1,31 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 17
-VisualStudioVersion = 17.1.32414.318
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pscommander", "pscommander\pscommander.csproj", "{F1B1F8AB-0E8B-4BFD-9B74-D1588418A35C}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pscommander.models", "pscommander.models\pscommander.models.csproj", "{FA22163A-BFAE-4CBF-9A92-E5030B48EA69}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F1B1F8AB-0E8B-4BFD-9B74-D1588418A35C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F1B1F8AB-0E8B-4BFD-9B74-D1588418A35C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F1B1F8AB-0E8B-4BFD-9B74-D1588418A35C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F1B1F8AB-0E8B-4BFD-9B74-D1588418A35C}.Release|Any CPU.Build.0 = Release|Any CPU
- {FA22163A-BFAE-4CBF-9A92-E5030B48EA69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FA22163A-BFAE-4CBF-9A92-E5030B48EA69}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FA22163A-BFAE-4CBF-9A92-E5030B48EA69}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FA22163A-BFAE-4CBF-9A92-E5030B48EA69}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {54E3594A-FA41-488B-89D9-8800C590CBF9}
- EndGlobalSection
-EndGlobal
diff --git a/PSCommander.slnx b/PSCommander.slnx
new file mode 100644
index 0000000..aba8ef7
--- /dev/null
+++ b/PSCommander.slnx
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/global.json b/global.json
new file mode 100644
index 0000000..d46d21e
--- /dev/null
+++ b/global.json
@@ -0,0 +1,7 @@
+{
+ "sdk": {
+ "version": "10.0.100",
+ "rollForward": "latestFeature",
+ "allowPrerelease": false
+ }
+}
diff --git a/pscommander/pscommander.csproj b/pscommander/pscommander.csproj
index 6e6f15f..6ee1308 100644
--- a/pscommander/pscommander.csproj
+++ b/pscommander/pscommander.csproj
@@ -2,7 +2,7 @@
WinExe
- net6.0-windows
+ net10.0-windows
true
true
Resources\icon.ico
@@ -16,8 +16,8 @@
-
-
+
+
@@ -37,4 +37,4 @@
-
\ No newline at end of file
+