Graph build of a solution does not embed .sln file in binlog
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
Build a solution with `-graph -bl`. The resultant binlog has the projects that were built but not the solution itself.
```sh-session
❯ dotnet new sln
The template "Solution File" was created successfully.
❯ dotnet new classlib -o Lib1
The template "Class Library" was created successfully.
Processing post-creation actions...
Restoring S:\work\tiny-graph\Lib1\Lib1.csproj:
Determining projects to restore...
Restored S:\work\tiny-graph\Lib1\Lib1.csproj (in 65 ms).
Restore succeeded.
❯ dotnet new classlib -o Lib2
The template "Class Library" was created successfully.
Processing post-creation actions...
Restoring S:\work\tiny-graph\Lib2\Lib2.csproj:
Determining projects to restore...
Restored S:\work\tiny-graph\Lib2\Lib2.csproj (in 69 ms).
Restore succeeded.
❯ dotnet sln add .\Lib1\ .\Lib2\
Project `Lib1\Lib1.csproj` added to the solution.
Project `Lib2\Lib2.csproj` added to the solution.
S:\work\tiny-graph
❯ msbuild -graph -bl .\tiny-graph.sln
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.