I have a solution which builds fine when running through Visual Studio 2015 but when I run from the command line I run into the error
error CS1056: Unexpected charac
$"{deadLineTime.Deadline:htt}"
is a syntax sugar for
string.Format("{0:htt}", deadline.Deadline);
same it goes for
$"{deadLineTime.Deadline:h:mmtt}"
as
string.Format("{0:h:mmtt}", deadline.Deadline);
try to replace them