dotnet/msbuild

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

Open

#7,697 建立於 2022年6月10日

在 GitHub 查看
 (15 留言) (0 反應) (0 負責人)C# (5,062 star) (1,364 fork)batch import
Area: Solution (.sln)bughelp wantedtriaged

描述

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

貢獻者指南