← Back to issue list

docs: .NET plugin (v2) example not working

View original Github issue

Metadata

Project
rockcraft
Number
#923
Type
issue
State
closed
Author
javierdelapuente
Labels
Type: Documentation
Created
Updated
Closed

Current evaluation

Docs example failed because .NET plugin v2 wasn't registered in Rockcraft; fixed by merged PR #1140 (42c7afa8) enabling the v2 plugin for 25.10+/devel, with docs updated.

Resolution: closed resolved

Reason: Maintainer confirmed the v2 plugin support was merged in PR #1140 (commit 42c7afa8) and released in Rockcraft's edge channel, with the plugin docs updated to list supported plugins/bases. The v2 plugin now activates automatically on the 25.10 base and higher; older bases still use the legacy .NET plugin.

Evaluated by: mr-cal-bot

No scores available.

Issue body

*Please describe the question or issue you're facing with ".NET plugin (v2) - Rockcraft dev documentation".* Using: ``` ubuntu@charm-dev:~/delete/testdotnet$ rockcraft --version rockcraft 1.13.0 ``` and parts just exactly as in `https://documentation.ubuntu.com/rockcraft/en/latest/common/craft-parts/reference/plugins/dotnet_v2_plugin/#how-it-works` I get the following error: ``` ubuntu@charm-dev:~/delete/testdotnet$ rockcraft pack Bad rockcraft.yaml content: - extra inputs are not permitted (in field 'parts.my-dotnet-part.dotnet-version') - extra inputs are not permitted (in field 'parts.my-dotnet-part.dotnet-configuration') - extra inputs are not permitted (in field 'parts.my-dotnet-part.dotnet-self-contained') For more information, check out: https://documentation.ubuntu.com/rockcraft/en/1.13.0/reference/rockcraft.yaml ``` My full `rockcraft.yaml` file is: ``` name: dotnetexample summary: Example project description: Example project version: "latest" license: Apache-2.0 base: bare build-base: ubuntu@22.04 platforms: amd64: parts: my-dotnet-part: source: . plugin: dotnet dotnet-version: "8.0" dotnet-configuration: "Debug" dotnet-self-contained: true ``` It looks that both the ".NET plugin" and ".Net plugin (v2)" use the same plugin value. --- *Reported from: https://documentation.ubuntu.com/rockcraft/en/latest/common/craft-parts/reference/plugins/dotnet_v2_plugin/*

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Docs example failed because .NET plugin v2 wasn't registered in Rockcraft; fixed by merged PR #1140 (42c7afa8) enabling the v2 plugin for 25.10+/devel, with docs updated.
stealth/space-bunny-alpha — closed resolved Rockcraft’s .NET v2 documentation was misleading because v2 was not registered. PR #1140, commit 42c7afa8, enabled it on Ubuntu 25.10+ and updated the docs; older bases retain the legacy plugin.
qwen/qwen3.6-35b-a3b — — .NET plugin v2 support merged into Rockcraft (#1140) and released on the edge channel. The feature requires Ubuntu 25.10 base or higher, and documentation has been updated to clarify plugin registration and base compatibility.
qwen/qwen3.6-35b-a3b — — Merged via PR #1140. The .NET plugin (v2) is now available in Rockcraft's edge channel and requires Ubuntu 25.10 base or higher. Documentation updated to clarify plugin registration and base compatibility.
qwen/qwen3.6-35b-a3b — — v2 .NET plugin support was merged into Rockcraft (#1140) and docs updated after the example failed due to unregistered plugin inputs. Maintainers clarified that v2 requires manual registration and only works on 25.10+ bases. Issue closed.
qwen/qwen3.6-35b-a3b — — Merged via PR #1140 into Rockcraft and released on the edge channel. The .NET plugin v2 now registers automatically and requires the 25.10 base. Documentation was updated to clarify registration and base requirements, resolving the reported errors.
qwen3.6-35b-a3b-mtp-q6 — — Merged via PR #1140 into Rockcraft. The .NET plugin v2 is now available in the edge channel, registers automatically for Ubuntu 25.10 bases, and fixes the validation errors. Documentation updated with base requirements and registration details.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: rockcraft#1140 (confidence 95%)

    Merged PR enabling the .NET v2 plugin for 25.10+ bases, cited by the maintainer as the resolution.

Related issues

Issue Project State Summary Similarity
#723 docs: document the .NET plugin craft-parts merged Merged PR #723 via commit 19723c2b, adding 90 lines of .NET plugin reference documentation across two files.
71%