runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Do not add FX assemblies to TPA when running tests

Open rahku opened this issue 10 years ago • 5 comments

When tests are run all fx assemblies & other dependencies are copied to core_root making them trusted assemblies. All dependencies should be copied to test/application directory and only runtime (coreclr & mscorlib) should be present in core_root.

rahku avatar Feb 23 '16 18:02 rahku

@rahku Does this break anything?

gkhanna79 avatar Feb 24 '16 17:02 gkhanna79

@rahku CoreCLR builds ~5900 test executables, seems like taking your suggestion literally would create a lot of file copies.

AndyAyersMS avatar Feb 24 '16 17:02 AndyAyersMS

@AndyAyersMS No if you create hardlinks instead of copies.

rahku avatar Feb 24 '16 17:02 rahku

@gkhanna79 No it does not break anything but it does not catch bugs when these assemblies are not TPA.

rahku avatar Feb 24 '16 17:02 rahku

closing as it seems we no longer have the concept of non-tpa for netcore. Everything is TPA now.

rahku avatar Feb 24 '16 18:02 rahku