Skip to content

NETSDK1195 error when building runtime in bootstrapping stage 2 build leg #3490

@mthalman

Description

@mthalman
/vmr/.dotnet/sdk/8.0.100-preview.6.23301.1/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1195: Unable to optimize assemblies for size: a valid runtime package was not found. Either set the PublishTrimmed property to false, or use a supported target framework when publishing. [/vmr/src/runtime/artifacts/source-build/self/src/Build.proj]

Example build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2192289&view=logs&j=4cede3bc-29a7-5d91-52ef-402f98629c03&t=dd97ae34-3027-5020-e259-ff298adf2f8e (internal link)

Metadata

Metadata

Assignees

Labels

area-upstream-fixNeeds a change in a contributing repo

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions