diff --git a/.github/workflows/wpf-ui-cd-extension.yaml b/.github/workflows/wpf-ui-cd-extension.yaml
index 6e01ee14..6bd56b3c 100644
--- a/.github/workflows/wpf-ui-cd-extension.yaml
+++ b/.github/workflows/wpf-ui-cd-extension.yaml
@@ -24,9 +24,17 @@ jobs:
run: nuget restore Wpf.Ui.sln
- name: Build the solution
- run: msbuild src\Wpf.Ui.Extension\Wpf.Ui.Extension.csproj /t:Rebuild -p:Configuration=Release -p:RestorePackages=false -p:Platform="x64" -p:GITHUB_ACTIONS=True
+ run: msbuild src\Wpf.Ui.Extension\Wpf.Ui.Extension.csproj /t:Rebuild -p:Configuration=Release -p:RestorePackages=false -p:Platform="x64" -p:ProductArchitecture="amd64" -p:GITHUB_ACTIONS=True
+
+ - name: Build the solution
+ run: msbuild src\Wpf.Ui.Extension\Wpf.Ui.Extension.csproj /t:Rebuild -p:Configuration=Release -p:RestorePackages=false -p:Platform="arm64" -p:ProductArchitecture="arm64" -p:GITHUB_ACTIONS=True
- uses: actions/upload-artifact@v4
with:
- name: wpf-ui-vs22-extension
+ name: wpf-ui-vs22-extension-x64
path: src\Wpf.Ui.Extension\bin\x64\Release\Wpf.Ui.Extension.vsix
+
+ - uses: actions/upload-artifact@v4
+ with:
+ name: wpf-ui-vs22-extension-arm64
+ path: src\Wpf.Ui.Extension\bin\arm64\Release\Wpf.Ui.Extension.vsix
diff --git a/.github/workflows/wpf-ui-cd-nuget.yaml b/.github/workflows/wpf-ui-cd-nuget.yaml
index 4c19d45e..a49cb274 100644
--- a/.github/workflows/wpf-ui-cd-nuget.yaml
+++ b/.github/workflows/wpf-ui-cd-nuget.yaml
@@ -22,6 +22,13 @@ jobs:
with:
dotnet-version: 8.x
+ - name: Fetch the certificate
+ run: |
+ $signing_keys_payload = [System.Convert]::FromBase64String("${{ secrets.STRONG_NAME_KEY }}")
+ $currentDirectory = Get-Location
+ $certificatePath = Join-Path -Path $currentDirectory -ChildPath "src/lepo.snk"
+ [IO.File]::WriteAllBytes("$certificatePath", $signing_keys_payload)
+
- name: Install dependencies
run: dotnet restore
@@ -31,6 +38,9 @@ jobs:
- name: Build
run: dotnet build src\Wpf.Ui.Abstractions\Wpf.Ui.Abstractions.csproj --configuration Release --no-restore -p:SourceLinkEnabled=true
+ - name: Build
+ run: dotnet build src\Wpf.Ui.DependencyInjection\Wpf.Ui.DependencyInjection.csproj --configuration Release --no-restore -p:SourceLinkEnabled=true
+
- name: Build
run: dotnet build src\Wpf.Ui.Tray\Wpf.Ui.Tray.csproj --configuration Release --no-restore -p:SourceLinkEnabled=true
@@ -39,3 +49,9 @@ jobs:
- name: Publish the symbols to NuGet.org
run: nuget push **\*.snupkg -NonInteractive -SkipDuplicate -Source 'https://api.nuget.org/v3/index.json'
+
+ - name: Upload NuGet packages as artifacts
+ uses: actions/upload-artifact@v4
+ with:
+ name: nuget-packages
+ path: '**\*.nupkg'
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 8a271aa7..0050b61c 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -44,46 +44,11 @@
true
-
-
- $(IntermediateOutputPath)$(MSBuildProjectName).SkipLocalsInit.g.cs
-
-
-// This code was generated by a tool.
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-[module: global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]]]>
-
+
+ true
+ $(RepositoryDirectory)\src\lepo.snk
-
-
-
-
-
-
-
-
-
-
-