diff --git a/README.md b/README.md index 58b5c2f..2f4a941 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,8 @@ Fluidify registers an MSBuild target that runs before `CoreCompile`. For each `< 2. Passes all item metadata (except `Destination`) as template variables 3. Writes the rendered output to the inferred or specified destination +MSBuild tracks input and output timestamps, so templates are only re-rendered when the source file changes. + ## License Apache-2.0 diff --git a/src/Fluidify/build/Fluidify.targets b/src/Fluidify/build/Fluidify.targets index a56f9b9..9e0408e 100644 --- a/src/Fluidify/build/Fluidify.targets +++ b/src/Fluidify/build/Fluidify.targets @@ -3,8 +3,26 @@ - + + + %(RootDir)%(Directory)%(Filename) + + + %(Fluidify.Destination) + + + $(MSBuildProjectDirectory)\%(Fluidify.Destination) + + + + +