Determine if MSBuild CLCompile will run and invoke custom target

Like the C # answer HERE I want to create a custom target that will run before the CLCompile (which I'm already working on), but that doesn't work if the CLCompile is skipped due to updating all targets. I have searched but cannot find what I need to check.

Would it be something like Inputs = "@ (CLCompile)"?

Alternatively just a replication of the Visual Studio quick check would work for me, if I can figure out how to create a task to do this task, I can run my task if anything goes out of date at all ...

+3
c ++ msbuild


source to share


No one has answered this question yet

See similar questions:

6
Determine if MSBuild CoreCompile will run and invoke custom target

or similar:

1709
How can I profile C ++ code running on Linux?
1250
Replacing 32-bit loop counter with 64-bit values ​​leads to crazy performance deviations
24
Powershell calls msbuild with nested quotes
13
Visual Studio 2012 - MSBuild incremental build not detecting changes
6
Target not to run when using BeforeTargets = "Build" on build server
6
Determine if MSBuild CoreCompile will run and invoke custom target
five
The msbuild special task
3
MSBuild - Executing Custom Targets Without Changing Individual Projects
3
Msbuild CoreCompile depends on targets
0
Executing MSBuild ExtensionPack tasks inside visual studio



All Articles
Loading...
X
Show
Funny
Dev
Pics