Skip to content

[BinFmt] AppDomainSetup #8922

@JanKrivanek

Description

@JanKrivanek

Background

#6215
This subitem is focused on

translator.TranslateDotNet(ref _appDomainSetup);

Note - the code path is currently executed only on Full Framework - so it's not of a high priority for current BinaryFormatter deprecation work. However it should be easy to get rid of it and so completely remove TranslateDotnet

Suggested approach

It seems all we need are actually 'ConfigurationBytes' (https://github.com/dotnet/msbuild/blob/main/src/Shared/TaskLoader.cs#L95-L99) - so instead of remoting whole AppDomainSetup, transfer only byte[]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions