Skip to content

Support packing file-based apps #49369

@baronfel

Description

@baronfel

File-based apps are currently supported by the dotnet run, dotnet restore, and dotnet build commands. We should consider supporting them with dotnet pack so that .NET SDK Tools can be made out of them.

This would play very nicely with the incoming RID-specific tools feature that the SDK is releasing in preview 6.

Since publishing file-based apps is going to default to PublishAot=true, that will require packaging N different nuget packages on different platforms - we should instead consider that for pack specifically the apps don't default to PublishAot=true so that the gesture for making all N RID-specific platform packages can be done easily with just the dotnet pack command.

Metadata

Metadata

Assignees

Labels

Area-run-fileItems related to the "dotnet run <file>" effortuntriagedRequest triage from a team member

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions