dotnet / dotnet/msbuild

Force build project in solution when not selected for default target

Open
#4,772 8 comments 4 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

### Steps to reproduce

Given a solution x.sln and any project y.vcxproj.
The project is selected to **not** build in any configuration.

There is no option in MSBuild to forcibly build it via solution file.

This command will built nothing
```
msbuild x.sln /t:y
```

It would be nice to have some parameter like "BuildProjectInSolution=True" which will build the project nevertheless.

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.