Well I just made it working.
By reading other posts from here I have removed .NET Core 3.1 and installed specifically .NET 4.5 (aim pack ? somthing like that and not 4.5.1 or 4.5.2)
The compilation from the editor worked after that.
I did not test my jenkins script yet.