From 87ef04af01fd4e193bd34fa6e71f62487d8cbba9 Mon Sep 17 00:00:00 2001 From: Tomas Matousek Date: Fri, 18 Dec 2015 02:25:38 -0800 Subject: [PATCH] Factor version definitions out of VSL.Settings.targets into a separate file --- build/Targets/Settings.targets | 274 ++++++++++++++++++++++ build/Targets/VSL.Settings.targets | 352 +---------------------------- build/Targets/VSL.Versions.targets | 77 +++++++ 3 files changed, 355 insertions(+), 348 deletions(-) create mode 100644 build/Targets/Settings.targets create mode 100644 build/Targets/VSL.Versions.targets diff --git a/build/Targets/Settings.targets b/build/Targets/Settings.targets new file mode 100644 index 00000000000..ebac82a942c --- /dev/null +++ b/build/Targets/Settings.targets @@ -0,0 +1,274 @@ + + + + $(MSBuildThisFileDirectory)..\..\ + $(ProjectDir)nuget.exe + $(ProjectDir)build\ToolsetPackages\ + $(ToolsetPackagesDir)toolsetpackages.semaphore + $(NUGET_PACKAGES) + $(UserProfile)\.nuget\packages + $([System.Environment]::GetFolderPath(SpecialFolder.Personal))\.nuget\packages + + + win7 + + + true + + + + + Microsoft.Net.Compilers + $(NuGetPackageRoot)\Microsoft.Net.Compilers\1.2.0-beta-20151211-01\build\Microsoft.Net.Compilers.props + $(NuGetPackageRoot)\Microsoft.Net.RoslynDiagnostics\1.1.1-beta1-20150818-01\build\Microsoft.Net.RoslynDiagnostics.props + $(AdditionalFileItemNames);PublicAPI + + + + + + + + + false + + + + + + + + + + 14.0 + + + + $(VSINSTALLDIR)\Common7\IDE + $(VS120COMNTOOLS)\..\IDE + $(VS140COMNTOOLS)\..\IDE + $([System.IO.Path]::GetFullPath('$(DevEnvDir)')) + + + + $(VisualStudioVersion.Substring(0, $(VisualStudioVersion.IndexOf('.')))) + $(VisualStudioReferenceMajorVersion).0.0.0 + Dev$(VisualStudioReferenceMajorVersion) + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(VisualStudioVersion) + + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..')) + $(MSBuildThisFileDirectory) + + Debug + + true + + true + + + false + + + + + + v12.0 + + + + + + Core + + + + + + + true + + + + + true + + + + + CSharp + VB + C++ + + + + + true + + + + + + + + + + + + + $(BootstrapBuildPath) + csc.cmd + $(BootstrapBuildPath) + vbc.cmd + + + + + false + 512 + true + + + + + false + false + true + $(NuGetPackageRoot)\Microsoft.NetFX20\1.0.3\lib\net20 + .NETFramework,Version=v2.0 + + + + <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> + + + + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..\Binaries\$(Configuration)'))\ + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..\Binaries\Obj\$(MSBuildProjectName)'))\ + + + + + $(OutDir) + + + + $(OutDir)\Samples\$(MSBuildProjectName) + + + + + false + + + + + + + Empty + Binary + On + On + On + + Embed + + + + + + + + + + + + + true + true + true + full + + + true + true + pdbonly + + + + + + + 4 + prompt + + + 1591 + + + true + full + DEBUG;TRACE + + + pdbonly + TRACE + true + + + + + + + + $(ProjectDir)obj\$(Configuration)\ + + + v$(VisualStudioReferenceMajorVersion)0 + + + + + + + $(TargetFrameworkSDKToolsDirectory)\sn.exe + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\sn.exe + + $(MSBuildProgramFiles32)\Microsoft Visual Studio $(VisualStudioVersion)\VC\bin\editbin.exe + + + + + True + MicrosoftSHA1 + $(NuGetPackageRoot)\FakeSign\0.9.2\tools\FakeSign.exe + + diff --git a/build/Targets/VSL.Settings.targets b/build/Targets/VSL.Settings.targets index 688fbf9a490..a30cb5b7539 100644 --- a/build/Targets/VSL.Settings.targets +++ b/build/Targets/VSL.Settings.targets @@ -1,348 +1,4 @@ - - - - $(MSBuildThisFileDirectory)..\..\ - $(ProjectDir)nuget.exe - $(ProjectDir)build\ToolsetPackages\ - $(ToolsetPackagesDir)toolsetpackages.semaphore - $(NUGET_PACKAGES) - $(UserProfile)\.nuget\packages - $([System.Environment]::GetFolderPath(SpecialFolder.Personal))\.nuget\packages - - - win7 - - - true - - - - - Microsoft.Net.Compilers - $(NuGetPackageRoot)\Microsoft.Net.Compilers\1.2.0-beta-20151211-01\build\Microsoft.Net.Compilers.props - $(NuGetPackageRoot)\Microsoft.Net.RoslynDiagnostics\1.1.1-beta1-20150818-01\build\Microsoft.Net.RoslynDiagnostics.props - $(AdditionalFileItemNames);PublicAPI - - - - - - - - - false - - - - - - - - - - 14.0 - - - - $(VSINSTALLDIR)\Common7\IDE - $(VS120COMNTOOLS)\..\IDE - $(VS140COMNTOOLS)\..\IDE - $([System.IO.Path]::GetFullPath('$(DevEnvDir)')) - - - - $(VisualStudioVersion.Substring(0, $(VisualStudioVersion.IndexOf('.')))) - $(VisualStudioReferenceMajorVersion).0.0.0 - Dev$(VisualStudioReferenceMajorVersion) - - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(VisualStudioVersion) - - $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..')) - $(MSBuildThisFileDirectory) - - Debug - - true - - true - - 1.2.0 - 1.2.0 - 1.1.37 - 2.8.5 - 1.0.27 - $(SystemReflectionMetadataAssemblyVersion)-rc2-23608 - $(SystemCollectionsImmutableAssemblyVersion) - 1.3.3 - $(NuGetCommandLineAssemblyVersion) - $(MicrosoftCompositionAssemblyVersion) - - 1.1.0 - - - false - - - - - - v12.0 - - - - - - Core - - - - - - - true - - - - - true - - - - - CSharp - VB - C++ - - - - - true - - - - - - - - - - - - - $(BootstrapBuildPath) - csc.cmd - $(BootstrapBuildPath) - vbc.cmd - - - - - false - 512 - true - - - - - false - false - true - $(NuGetPackageRoot)\Microsoft.NetFX20\1.0.3\lib\net20 - .NETFramework,Version=v2.0 - - - - <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" /> - - - - $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..\Binaries\$(Configuration)'))\ - $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..\Binaries\Obj\$(MSBuildProjectName)'))\ - - - - - $(OutDir) - - - - $(OutDir)\Samples\$(MSBuildProjectName) - - - - - false - - - - - - - Empty - Binary - On - On - On - - Embed - - - - - - - - - - - - - true - true - true - full - - - true - true - pdbonly - - - - - - - 4 - prompt - - - 1591 - - - true - full - DEBUG;TRACE - - - pdbonly - TRACE - true - - - - - - - - $(ProjectDir)obj\$(Configuration)\ - - - v$(VisualStudioReferenceMajorVersion)0 - - - - - - - $(TargetFrameworkSDKToolsDirectory)\sn.exe - $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\sn.exe - - $(MSBuildProgramFiles32)\Microsoft Visual Studio $(VisualStudioVersion)\VC\bin\editbin.exe - - - - - True - MicrosoftSHA1 - $(NuGetPackageRoot)\FakeSign\0.9.2\tools\FakeSign.exe - - - - - - - $(RoslynSemanticVersion).0 - - - - - - - $(RoslynSemanticVersion).0 - $(RoslynSemanticVersion).$(BuildNumber.Split('.')[0]) - - - - - - - $(RoslynSemanticVersion).0 - $(RoslynSemanticVersion).0 - - - - - - - 42.42.42.42 - 42.42.42.42 - - - - - - - - - - $(TF_BUILD_BUILDNUMBER.Split('_')[1]) - - $(BuildNumberSuffix.Split('.')[0]) - - - $(BuildNumberSuffix.Split('.')[1].PadLeft(2,'0')) - - - - $(RoslynSemanticVersion)-beta1 - $(NuGetPreReleaseVersion)-$(BuildNumberPart1.Trim())-$(BuildNumberPart2.Trim()) - - - + + + + diff --git a/build/Targets/VSL.Versions.targets b/build/Targets/VSL.Versions.targets new file mode 100644 index 00000000000..f2ca2a10ce3 --- /dev/null +++ b/build/Targets/VSL.Versions.targets @@ -0,0 +1,77 @@ + + + 1.2.0 + 1.2.0 + 1.1.37 + 2.8.5 + 1.0.27 + $(SystemReflectionMetadataAssemblyVersion)-rc2-23608 + $(SystemCollectionsImmutableAssemblyVersion) + 1.3.3 + $(NuGetCommandLineAssemblyVersion) + $(MicrosoftCompositionAssemblyVersion) + + 1.1.0 + + + + + + + $(RoslynSemanticVersion).0 + + + + + + + $(RoslynSemanticVersion).0 + $(RoslynSemanticVersion).$(BuildNumber.Split('.')[0]) + + + + + + + $(RoslynSemanticVersion).0 + $(RoslynSemanticVersion).0 + + + + + + + 42.42.42.42 + 42.42.42.42 + + + + + + + + + + $(TF_BUILD_BUILDNUMBER.Split('_')[1]) + + $(BuildNumberSuffix.Split('.')[0]) + + + $(BuildNumberSuffix.Split('.')[1].PadLeft(2,'0')) + + + + $(RoslynSemanticVersion)-beta1 + $(NuGetPreReleaseVersion)-$(BuildNumberPart1.Trim())-$(BuildNumberPart2.Trim()) + + + \ No newline at end of file -- GitLab