diff options
author | Jose Perez Rodriguez <joperezr@microsoft.com> | 2017-05-10 13:23:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 13:23:28 -0700 |
commit | c9f469e5fc99a498f46bd2d60fb198b7f7f1c22b (patch) | |
tree | da388d50ff371e5e780fb24dc6735c1469d1ed85 /src | |
parent | 695164b9c69fbffd640494e661bae02c44ffa0f0 (diff) | |
download | coreclr-c9f469e5fc99a498f46bd2d60fb198b7f7f1c22b.tar.gz coreclr-c9f469e5fc99a498f46bd2d60fb198b7f7f1c22b.tar.bz2 coreclr-c9f469e5fc99a498f46bd2d60fb198b7f7f1c22b.zip |
Add version.txt to the coreclr transport package (#11497)
* Add version.txt to the coreclr transport package
* PR Feedback
Diffstat (limited to 'src')
-rw-r--r-- | src/.nuget/dir.targets | 7 | ||||
-rw-r--r-- | src/.nuget/packages.builds | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/.nuget/dir.targets b/src/.nuget/dir.targets index a488694245..4cd7d022cc 100644 --- a/src/.nuget/dir.targets +++ b/src/.nuget/dir.targets @@ -92,4 +92,11 @@ </Target> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)\.., dir.targets))\dir.targets" /> + <ItemGroup> + <!-- Add version file to packages --> + <File Condition="Exists('$(SyncInfoFile)')" + Include="$(SyncInfoFile)"> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + </File> + </ItemGroup> </Project> diff --git a/src/.nuget/packages.builds b/src/.nuget/packages.builds index f57b9a9b50..0c0f65d3c1 100644 --- a/src/.nuget/packages.builds +++ b/src/.nuget/packages.builds @@ -25,5 +25,9 @@ <Project Include="Microsoft.NETCore.ILDAsm\Microsoft.NETCore.ILDAsm.builds" /> </ItemGroup> + <Import Project="$(ToolsDir)versioning.targets" /> + <!-- Make sure we create version.txt file since it will be packaged --> + <Target Name="EnsureVersionInfoFileExists" BeforeTargets="Build" DependsOnTargets="CreateVersionInfoFile" /> + <Import Project="$(MSBuildThisFileDirectory)..\..\dir.traversal.targets" /> </Project> |