This is necessary for setting the intermediate output path to work correctly
https://github.com/dotnet/cli/issues/6227 https://github.com/dotnet/cli/issues/6228