@eirannejad here is what I’m trying to do.
again, it works fine under. NetCore. this issue is exclusive to .NetFramework.