The answer below to this question:
led me to this approach:
@Mutate
void applySolutionConfiguration( VisualStudioExtension visualStudio, @Path('buildDir') theBuildDir ) { ... }
…which isn’t the best for the reason highlighted by phaninra
above. I’m a little surprised I couldn’t simply do this:
@Mutate
void applySolutionConfiguration( VisualStudioExtension visualStudio, @Path('projectDir') theProjectDir ) { ... }
…why is buildDir
special? Both are properties of the project, I’m surprised all of the File
properties of the project aren’t equally accessible.