Thanks, workaround works with wsl2.
Sadly we have .net console application that runs proxy-generation and then fixes/changes some of the files.
Anyway, thanks workaround works.