Skip to content

Add new workaround for RID-specific tool publishing #49289

@baronfel

Description

@baronfel

Type of issue

Typo

Description

In dotnet/sdk#51281 we added a way for users that were making .NET Tools that had a RuntimeIdentifier specified to get the same behavior they had on .NET 9 and below - that is, making framework-dependent, platform-agnostic .NET Tools.

To do so, the following project properties need to be added, and the 10.0.100 GA release of the .NET SDK must be used.

    <CreateRidSpecificToolPackages>false</CreateRidSpecificToolPackages>
    <UseAppHost>false</UseAppHost>

[Enter feedback here]

Page URL

https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/10.0/dotnet-tool-pack-publish

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/compatibility/sdk/10.0/dotnet-tool-pack-publish.md

Document Version Independent Id

8eb98a02-7d87-9fd4-0429-c5f059e8f27b

Platform Id

32c3d15f-5b4b-a175-e761-6d7b0754db1a

Article author

@gewarren

Metadata

  • ID: 62f68c53-02c5-451d-fc2c-453fcef7aa87
  • PlatformId: 32c3d15f-5b4b-a175-e761-6d7b0754db1a
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions