MetanoKid / MetanoKid/msbuild-flame-graph
Create console project to mimic UI
- Dominant language
- C#
- Stars
- 42
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In order to support integration on build servers, it would be nice to have a new project that takes build configuration from command line and outputs the trace file.
It needs, at the bare minimum:
* Path to solution to build: i.e. `C:\path\to\solution.sln`.
* Configuration: i.e. `Debug`.
* Platform: i.e. `x64`.
* Target: i.e. `Rebuild`.
* Output trace file: i.e. `C:\path\to\trace.json`.
Ideas for execution with different formats (second one resembles MSBuild a bit more):
`builder_console.exe C:\path\to\solution.sln -o C:\path\to\trace.json -c Debug -p x64 -t Rebuild`
`builder_console.exe C:\path\to\solution.sln /o:C:\path\to\trace.json /c:Debug /p:x64 /t:Rebuild`
It would also be interesting to be able to provide:
* Use `/Bt+` flag.
* Use `/time+` flag.
* Keep intermediate `Events.json` file.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the existing UI flow that builds a solution and produces the trace file. Define the console project's command-line inputs for solution path, configuration, platform, target, and output path, then verify that it can produce the same trace output for a build-server invocation. Treat /Bt+, /time+, and retaining Events.json as additional scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100