Skip to content

Eliminate the 'runtime-portable' build #3027

Closed
@tmds

Description

@tmds

When we're source-building .NET, runtime gets built twice: once as runtime-portable, and then as (non-portable) runtime.

The runtime-portable is taking up a large chunk of the build time, and it would be a huge improvement if we can eliminate it.

This means that builds should accept the rid-specific packages instead of using the packages which are built with a portable name.

We must also guard the single runtime build preserves the built-from-source requirement.
It shouldn't output artifacts that were directly copied from the pre-built SDK and pre-built packages, like the app host and assets from runtime packages.

Tasks:

The test should do two passes. The first pass uses a portable pre-built SDK. The second pass uses the non-portable SDK that was the output of the first pass. This ensures source-build also works when starting with the non-portable SDK.

cc @MichaelSimons @crummel @omajid

Metadata

Metadata

Assignees

Labels

area-product-experienceImprovements in the end-user's product experience

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions