My new projects generated by VS 2019 cannot read or write files. Even the following simple code does not work.
public class Program { public static void M