dotnet/msbuild

-targets command-line option doesn't work with solution file

Open

#7,697 opened on Jun 10, 2022

View on GitHub
 (15 comments) (0 reactions) (0 assignees)C# (5,062 stars) (1,364 forks)batch import
Area: Solution (.sln)bughelp wantedtriaged

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

-targets command-line option doesn't work with solution file · dotnet/msbuild#7697 | Good First Issue