If I want to specify a logger where I can set the name and location of the log file, I do the following:
dotnet build /l:FileLogger,Microsoft.Build.Engine;logfile=MyLog.log
This syntax has worjked for me in the past with msbuild, however it is not working with dotnet. What am I doing wrong?