Comments (6)
dotnet CLI uses CoreCLR so we need a .NET Standard version of StructuredLogger.dll not the .NET Framework (Desktop) version.
Try downloading this NuGet package: https://www.nuget.org/packages/Microsoft.Build.Logging.StructuredLogger/1.0.130
and inside it there's the lib\netstandard1.5\StructuredLogger.dll
. Try passing that to dotnet build
instead of the one you've been passing (the desktop one).
from msbuildstructuredlog.
Great! Any chance to add that as an option in the GUI?
from msbuildstructuredlog.
What are the tradeoffs between using the custom structured logger and the new /bl
option that's built into MSBuild now?
from msbuildstructuredlog.
BinaryLogger (/bl) will consume less memory and hopefully not OOM on huge builds, whereas the StructuredLogger .buildlog format may OOM on large builds (by design). The /bl .binlog format is streaming and should be constant in terms of memory.
StructuredLogger on the other hand captures the target graph so it is able to show DependsOn list for each target and also order targets slightly better in some cases.
Also StructuredLogger is much more compact since it is not streaming and thus able to use string deduplication, reducing the log file up to 10x smaller as a .binlog for a Binary Logger.
BinaryLogger is replayable and you're able to reconstruct text logs of any verbosity out of it. It is hard to reconstruct text logs of conventional format from a StructuredLogger log.
Other than that they're pretty much equivalent.
from msbuildstructuredlog.
@m0sa how exactly would you like to see dotnet msbuild to be integrated into the UI? Can you make a mockup in MSPaint? I'm not sure I am well familiar with dotnet msbuild and so I don't have a clear idea of how that choice would look to the user. Thanks!
from msbuildstructuredlog.
I'm going to close this as fixed, but please feel free to reopen or open a new one if you feel there's something else I can help with.
from msbuildstructuredlog.
Related Issues (20)
- Cannot open Czech log files HOT 4
- Missing Method Exception Version 2.2.158 HOT 8
- NullReferenceException when executing a Preprocess
- Respect project() and under() in $copy queries
- Support robocopy Skipped messages
- ArgumentNullException reading records from a binary log HOT 7
- Add shortcut to view full message
- TreeViewExtensions and context menu logic
- System.IO.InvalidDataException HOT 1
- VisualTreeHelper
- `TreeViewExtensions.OnRequestBringIntoView` NRE HOT 14
- [Avalonia][Mac] Bottom third of window is gigantic
- Evalutation node sort by id HOT 5
- AfterTargets build reason not shown HOT 2
- [Suggestion] Add Command Line Diffing to the CMD preview window.
- Lots of Find in Files results in Dark Theme hangs because of AdonisUI
- Add support for task assembly location HOT 2
- Unexpected exception HOT 1
- MSB4011 could be shown nested in the import tree HOT 3
- ArgumentNullException when running on Ubuntu in GitHub Actions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msbuildstructuredlog.