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

Q: How to coordinate internal targets with SC processes #299

Open
mwpowellhtx opened this issue Jun 4, 2024 · 1 comment
Open

Q: How to coordinate internal targets with SC processes #299

mwpowellhtx opened this issue Jun 4, 2024 · 1 comment

Comments

@mwpowellhtx
Copy link

I have some internal targets which I need to copy build artifacts into a sandbox area. However, I am finding that the <filename/>.<Configuration/>.<ext/> transform files are being drawn into that operation. Which causes me to wonder, do I need to also target after
and/or depends upon SC targets. If so, which ones are most appropriate.

<Target Name="BavContainSandboxAfterBuild" Condition="'$(Configuration)' == 'Debug'" DependsOnTargets="ScApplyTransforms;BavMakeSandboxDirectories" AfterTargets="Build" />

Specifically, during Debug configuration, I want to arrange some sandbox assets. However, when my targets run, I am finding the results include not only, BumpAssemblyVersions.targets, but also the transform files, BumpAssemblyVersions.Debug.targets and BumpAssemblyVersions.Release.targets.

Whereas the final bin/ build results do not include those transform files. Which tells me there are some SC targets which may still be evaluating by the moment during which my targets are being run.

Tangent to that, we probably want to depend on the SC targets as well, because the transformation results may not have completed when we copy the files.

Assuming there is/are such target(s), what are they, and could we await their completion in our AfterTargets?

@mwpowellhtx
Copy link
Author

As it turns out, may be a non-sequitur, I may be able to streamline and not necessarily incur a need for a transform after all. However, still somewhat curious to know the targets, timings involved, for future reference. Best thanks...

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

No branches or pull requests

1 participant