Skip to content

Commit

Permalink
Modify After.Common.targets
Browse files Browse the repository at this point in the history
Add Versioning.props as an input to the targets 'GenerateAssemblyAttributeFile' and 'GenerateVersionConstantsFile' so that version update can take effect immediately when rebuilding.
  • Loading branch information
lewischeng-ms committed Apr 9, 2015
1 parent a61222f commit dfa4665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/CustomMSBuild/After.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<!-- *** Generate a file with assembly attributes and hook it into the build -->
<!-- ********************************************************************************************* -->
<Target Name="GenerateAssemblyAttributeFile"
Inputs="$(MSBuildProjectFile)"
Inputs="$(MSBuildProjectFile);$(CustomBuildExtensionsPath)\Versioning.props"
Outputs="$(IntermediateOutputPath.TrimEnd('\'))\AssemblyAttributes$(DefaultLanguageSourceExtension)"
Condition="'$(ShouldGenerateAssemblyAttributeFile)' == 'true'">

Expand Down Expand Up @@ -126,7 +126,7 @@ using System.Resources;
<!-- *** Generate a file with version constants and hook it into the build -->
<!-- ********************************************************************************************* -->
<Target Name="GenerateVersionConstantsFile"
Inputs="$(MSBuildProjectFile)"
Inputs="$(MSBuildProjectFile);$(CustomBuildExtensionsPath)\Versioning.props"
Outputs="$(IntermediateOutputPath.TrimEnd('\'))\VersionConstants$(DefaultLanguageSourceExtension)"
Condition="'$(ShouldGenerateVersionConstantsFile)' == 'true'">

Expand Down

0 comments on commit dfa4665

Please sign in to comment.