dotnet / dotnet/msbuild

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

Open
#7,697 15 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.