Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logger.LogWarning should log Project #264

Open
jzabroski opened this issue Sep 17, 2019 · 1 comment
Open

logger.LogWarning should log Project #264

jzabroski opened this issue Sep 17, 2019 · 1 comment

Comments

@jzabroski
Copy link

For really large projects, it's very difficult to understand where an error is emanating from. Below is sample output from running the tool with a sln file with 31 projects:

[14:46:21 WRN] Unsupported project[WixInstallerSetup(2.0.0)] type {930C7802-8A8C-48F9-8165-68863BCCD9DD}
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
Properties\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
Properties\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:21 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 ERR] Entity framework was detected. We do not support conversion of these projects.
[14:46:22 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 ERR] Entity framework was detected. We do not support conversion of these projects.
[14:46:22 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 ERR] Entity framework was detected. We do not support conversion of these projects.
[14:46:22 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 ERR] Entity framework was detected. We do not support conversion of these projects.
[14:46:22 WRN] Could not read assembly information, multiple files found:
..\GlobalAssemblyInfo.cs, Properties\AssemblyInfo.cs
[14:46:22 FTL] Access to the path 'C:\Users\john.zabroski\Application Data' is denied.

Here is an example where ILogger.LogWarning is difficult to read:

this.logger.LogWarning(
$@"Could not read assembly information, multiple files found:{Environment.NewLine}{fileList}");

@sommmen
Copy link

sommmen commented Jul 17, 2020

i'd love this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants