Skip to content
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

Allow extending common DependsOn properties #10122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JanKrivanek
Copy link
Member

Fixes #9755

Context

Allow extending common targets *DependsOn properties
It's a continuation of #4922 and #9703 - handling rest of the properties

Changes Made

All *DependsOn properties are defined in nondestructive way

Testing

Existing test

Notes

@ghogen - Once/If this is merged, I'd suggest the DependsOn properties to be prefered extension way over redefining targets from common target files (for https://github.com/MicrosoftDocs/visualstudio-docs-pr/pull/12564)

Dependencies that might possibly be usefull for powerusers to extend include:

Property Added target will run before …
BuildDependsOn The main build entry point
RebuildDependsOn The Rebuild
RunDependsOn The run the final build output (if it is a .EXE)
CompileDependsOn The compilation
CreateSatelliteAssembliesDependsOn The creation of the satellite assemblies
CleanDependsOn The Clean (Deleting of all intermediate and final build outputs)
PostBuildEventDependsOn The PostBuildEvent
PublishBuildDependsOn Build publishing
ResolveAssemblyReferencesDependsOn The 'RAR' target (Finding the transitive closure of dependencies for a given dependencies)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't stomp on *DependsOn properties #2
1 participant