Issue Description
I'm running dotnet locally, and it prints annoying warning without giving any details which logger failed
The specified logger could not be created and will not be used. The given assembly name was invalid.
dotnet (and msbuild) should print name of offending logger to help root cause the problem
Steps to Reproduce
It's hard to tell which steps need to be taken to get into this state. On my machine it reproduces with simple 'dotnet new webapp'.
PS C:\src\Repo\src\myapp> dotnet new webapp
The template "ASP.NET Core Web App" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/7.0-third-party-notices for details.
Processing post-creation actions...
Restoring C:\src\Repo\src\myapp\myapp.csproj:
The specified logger could not be created and will not be used. The given assembly name was invalid.
....
Expected Behavior
Print name of logger that failed to load
Actual Behavior
Logger name is not displayed
Analysis
No response
Versions & Configurations
No response