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[]
Background
#6215
This subitem is focused on
msbuild/src/Build/BackEnd/Node/NodeConfiguration.cs
Line 164 in 363f522
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
TranslateDotnetSuggested 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 onlybyte[]