[client][managed][test] reduce memory footprint of .net45 test project a...

...nd support running from console