Skip to content

CI: install net46 developer pack for NuGet pack builds#111

Closed
ManlyMarco with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-failing-build-job
Closed

CI: install net46 developer pack for NuGet pack builds#111
ManlyMarco with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-failing-build-job

Conversation

Copilot AI commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

The build workflow was failing in Nuget pack because project builds during packing require .NETFramework v4.6 reference assemblies, which were not present on the runner. This updates the workflow dependency to match the actual target framework used by the API projects.

  • Root cause

    • nuget pack -build triggers MSBuild for net46 projects (AIAPI, HS2API, ECAPI, KKSAPI).
    • Workflow installed netfx-4.6.1-devpack, but the failure was MSB3644 for .NETFramework,Version=v4.6.
  • Change

    • Updated CI workflow to install the correct targeting pack:
    - name: Install .NET Framework 4.6 targeting pack
      shell: pwsh
      run: |
        choco install netfx-4.6-devpack -y
  • Impact

    • Aligns runner toolchain with project target frameworks so nuget pack -build can resolve net46 reference assemblies.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build CI: install net46 developer pack for NuGet pack builds Jun 29, 2026
Copilot AI requested a review from ManlyMarco June 29, 2026 09:52
@ManlyMarco ManlyMarco closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants