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

贡献者指南

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