-targets command-line option doesn't work with solution file
Open
Area: Solution (.sln)
bug
help wanted
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 139
Description
### Issue Description
-targets command-line option doesn't work when building a solution
### Steps to Reproduce
MSBuild.exe -targets SomeSolution.sln
### Expected Behavior
List the available targets in each project
### Actual Behavior
Builds the solution
### Versions & Configurations
Windows 10
MSBuild version 17.3.0-preview-22307-01+bfd80ab16 for .NET Framework
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.