Imaging c# console application

hello docker community.
i tried to create an image of .net framework console application that i made (nothing fancy), i tried to run it and i got this response:

do you know what is the best way to make an image from c# console app (no web api but it does use Newtonsoft.json nuget package), and the best way to run it? (everything i tried so far was unsucssessful and made some problem)

thank you in advance.