When I try to run my published app with "dotnet MyApp.dll" I get this error:
[santi@host test]$ dotnet MyApp.dll Unhandled exception. System.IO.File