Open
Description
Is your feature request related to a problem? Please describe.
When MSBuild build fails, ProjInfo logs full MSBuild output which is very verbose.
It happens here:
proj-info/src/Ionide.ProjInfo/Library.fs
Lines 1062 to 1065 in 22b59a7
Sample beginning of output:
[14:18:37 INF] Ionide.ProjInfo.WorkspaceLoaderViaProjectGraph : Started loading projects 20 ["C:\\projekty\\fsharp\\fsharp_scripts\\.cache\\dotnet__fsharp\\9ae94bb9\\_\\tests\\service\\data\\CSharp_Analysis\\CSharp_Analysis.csproj", ...]
[14:18:39 ERR] Ionide.ProjInfo.WorkspaceLoaderViaProjectGraph : Overall Build: Failure, projects built 20 : Build started.
Static graph loaded in 1.055 seconds: 30 nodes, 72 edges
Project "CSharp_Analysis.csproj" (ResolveAssemblyReferencesDesignTime;ResolveProjectReferencesDesignTime;ResolvePackageDependenciesDesignTime;FindReferenceAssembliesForReferences;_GenerateCompileDependencyCache;_ComputeNonExistentFileProperty;BeforeBuild;BeforeCompile;CoreCompile target(s)):
...
(followed by a lot of MSBuild output)
Describe the solution you'd like
Better control over how much output is produced in case of failure.
Describe alternatives you've considered
Disable ProjInfo's logs through Serilog configuration - but that gets rid of useful log information.
Metadata
Metadata
Assignees
Labels
No labels
Activity