Skip to content

Document .NET tool support for Aspire 13.2#310

Merged
IEvangelist merged 2 commits intorelease/13.2from
copilot/fix-issue-257-for-release
Jan 29, 2026
Merged

Document .NET tool support for Aspire 13.2#310
IEvangelist merged 2 commits intorelease/13.2from
copilot/fix-issue-257-for-release

Conversation

Copy link
Contributor

Copilot AI commented Jan 28, 2026

Documents the AddDotnetTool API introduced in dotnet/aspire#13168 for running .NET CLI tools as Aspire resources.

Changes

  • New documentation page (app-host/dotnet-tool-resources.mdx):

    • Basic usage and prerequisites (.NET 10 SDK required)
    • Version configuration (WithToolVersion, WithToolPrerelease)
    • Package source configuration (WithToolSource, WithToolIgnoreExistingFeeds, WithToolIgnoreFailedSources)
    • Known limitations (SDK concurrency issues, offline scenarios)
    • Extension methods reference table
  • Navigation: Added sidebar entry under AppHost section

  • Cross-linking: Updated ASPIREDOTNETTOOL diagnostic page with link to new docs

Example

#pragma warning disable ASPIREDOTNETTOOL
var builder = DistributedApplication.CreateBuilder(args);

var efTool = builder.AddDotnetTool("ef", "dotnet-ef")
    .WithToolVersion("10.0.*")
    .WithArgs("migrations", "list");

builder.Build().Run();
#pragma warning restore ASPIREDOTNETTOOL

Screenshot

Documentation page

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • telemetry.astro.build
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js dev (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Please work on issue #257 for 13.2 release.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue 257 for 13.2 release Document .NET tool support for Aspire 13.2 Jan 28, 2026
Copilot AI requested a review from IEvangelist January 28, 2026 19:43
@IEvangelist
Copy link
Member

Hey @copilot, don't you need to also add a sidebar entry for the diagnostics article?

@IEvangelist IEvangelist marked this pull request as ready for review January 28, 2026 21:37
Copy link
Contributor Author

Copilot AI commented Jan 28, 2026

@IEvangelist Unfortunately I hit an unexpected error while processing your comment. I've automatically reported this to GitHub.

You can ask me to try again later by mentioning me in a new comment.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 72edda90-4862-46c6-bccf-10a0022ce74e

Sorry for the inconvenience!

@IEvangelist IEvangelist merged commit 31104f4 into release/13.2 Jan 29, 2026
1 check passed
@IEvangelist IEvangelist deleted the copilot/fix-issue-257-for-release branch January 29, 2026 15:38
IEvangelist added a commit that referenced this pull request Jan 30, 2026
* Initial plan

* Add documentation for .NET tool resources

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 3, 2026
* Initial plan

* Add documentation for .NET tool resources

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 7, 2026
* Initial plan

* Add documentation for .NET tool resources

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 17, 2026
* Initial plan

* Add documentation for .NET tool resources

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 18, 2026
* Initial plan

* Add documentation for .NET tool resources

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
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