Skip to content

COMPlus_PartialNGen is not being set since repo consolidation #32935

Description

@Anipik

we are setting this flag _partialCrossgenFlag for some assemblies here https://github.com/dotnet/arcade/blob/master/src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/targets/framework.dependency.targets#L427-L431

Before this change these lines of code was never been executed dotnet/arcade#4911 becuase $(OSGroup) can never be linux in installer. we either set it to unix or osx https://github.com/dotnet/runtime/blob/master/src/installer/Directory.Build.props#L63

The failure due to this flag being set can be found in #32858

the failure message is

Error compiling /root/runtime/artifacts/bin/pkg/netcoreapp5.0/runtime/Linux-Debug-x64/System.ComponentModel.TypeConverter.dll: Cannot compile using the PartialNgen flag because no IBC data was found. (0x8013200C)

I checked the flag value and its being set to 1

This was introduced in dotnet/core-setup#5252
@MichalStrehovsky can you take a look and help me fix this ?

cc @ericstj @dagood @ViktorHofer @safern

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions