-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Solution targets need to be dynamic or at least extensible #1275
Comments
Should I formalize my prototype and get this ready for RTM? |
jeffkl
added a commit
to jeffkl/msbuild
that referenced
this issue
Dec 19, 2016
This allows users to access any target when building a solution. The target may or may not exist but this will create the corresponding targets in the `.metaproj`. Closes dotnet#1275
jeffkl
added a commit
to jeffkl/msbuild
that referenced
this issue
Dec 19, 2016
This allows users to access any target when building a solution. The target may or may not exist but this will create the corresponding targets in the `.metaproj`. I had to pass along the target names from the build request all the way down to the solution generator via ReadOnlyCollections. Closes dotnet#1275
jeffkl
added a commit
to jeffkl/msbuild
that referenced
this issue
Dec 19, 2016
This allows users to access any target when building a solution. The target may or may not exist but this will create the corresponding targets in the `.metaproj`. I had to pass along the target names from the build request all the way down to the solution generator via ReadOnlyCollections. Closes dotnet#1275
jeffkl
added a commit
that referenced
this issue
Jan 3, 2017
* Generate targets in metaproj This allows users to access any target when building a solution. The target may or may not exist but this will create the corresponding targets in the `.metaproj`. I had to pass along the target names from the build request all the way down to the solution generator via ReadOnlyCollections. Closes #1275 Might be related to #1494
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's currently a fixed set of targets emitted to the sln metaproj:
https://github.com/Microsoft/msbuild/blob/2db4d4b6821ff65987b2843d29cc5f02c4db59f5/src/XMakeBuildEngine/Construction/Solution/SolutionProjectGenerator.cs#L765-L769 (edited)
We will be needing other targets such as "pack" and "test" to work on solutions.
@jeffkl suggested "It might be as simple as taking the target you specified at the command-line and injecting it into the generated project"
The text was updated successfully, but these errors were encountered: