-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Add ability to build multiple projects on the command line without sln or slnf #9714
Labels
backlog
Feature Request
gathering-feedback
The issue requires feedback in order to be planned, please comment if the feature is useful for you
help wanted
Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.
needs-design
Requires discussion with the dev team before attempting a fix.
Priority:3
Work that is nice to have
triaged
Comments
LostTime76
added
Feature Request
needs-triage
Have yet to determine what bucket this goes in.
labels
Feb 7, 2024
AR-May
added
help wanted
Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.
needs-design
Requires discussion with the dev team before attempting a fix.
gathering-feedback
The issue requires feedback in order to be planned, please comment if the feature is useful for you
backlog
triaged
Priority:3
Work that is nice to have
and removed
needs-triage
Have yet to determine what bucket this goes in.
labels
Feb 13, 2024
Can I work on this feature? |
This seems like a logical and natural extension of the existing MSBuild CLI Grammar - we'd love to see a pull request in this space! There are a few things to think about here:
Useful links
|
@naeemaei I realized I forgot to @ you directly - if you'd like to contribute this feature we'd love to help you implement it! |
@baronfel Yes, I'd like to contribute. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backlog
Feature Request
gathering-feedback
The issue requires feedback in order to be planned, please comment if the feature is useful for you
help wanted
Issues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.
needs-design
Requires discussion with the dev team before attempting a fix.
Priority:3
Work that is nice to have
triaged
Summary
I would like to know the background story of why this is not possible to do today and figured I would ask if it was possible to make this happen.
Background and Motivation
Solution files...................
Today I can build multiple projects with dotnet build by passing in a solution or solution filter to specify the projects I want to build. Additionally, I have the ability to build a single project without a sln or slnf by passing in the name of the project directly. Therefore, it seems like there is no limitation on building multiple projects in a single dotnet build call.
The only reason I have had to create solution files is so that I can have the ability to build multiple related projects at a time. That's it, they do nothing more and they clutter the file tree. Recently, I have had to be able to 'select' individual projects or groups of projects to build within a file tree. This has led me to solution filters, which feel like a cludge over already crusty solution files.
Furthermore, I can invoke the MSBuild task within a project file and pass to it an item list of projects to build! This further solidifies my belief that there is no limitation of building without solution files.
Proposed Feature
Add the ability to pass a list of projects to the dotnet cli / msbuild cli to build without a solution file instead of being limited by a single project input. I think this would get rid of the requirement for many people to need solution files. It can make build automation and selecting the projects to build much easier by allowing them just to be specified on the command line directly.
Proposal(s):
Alternative Designs
No response
The text was updated successfully, but these errors were encountered: