From bc430cdd2010bf7790854a60380d00c506c346a6 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Tue, 19 Feb 2019 20:36:46 -0800 Subject: [PATCH] Cleanup CoreLib makefiles (#22706) --- .../System.Private.CoreLib.csproj | 21 ++--- .../Tools/Versioning/GenerateVersionInfo.targets | 90 ---------------------- .../Tools/Versioning/NativeVersion.rc | 45 ----------- 3 files changed, 6 insertions(+), 150 deletions(-) delete mode 100644 src/System.Private.CoreLib/Tools/Versioning/GenerateVersionInfo.targets delete mode 100644 src/System.Private.CoreLib/Tools/Versioning/NativeVersion.rc diff --git a/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/System.Private.CoreLib/System.Private.CoreLib.csproj index 3719202..faa24c1 100644 --- a/src/System.Private.CoreLib/System.Private.CoreLib.csproj +++ b/src/System.Private.CoreLib/System.Private.CoreLib.csproj @@ -29,7 +29,7 @@ false true true - $(DefineConstants);CORECLR;_USE_NLS_PLUS_TABLE;CODE_ANALYSIS_BASELINE;netcoreapp + $(DefineConstants);CORECLR;netcoreapp <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation @@ -48,12 +48,10 @@ x64 false - 0x180000000 BIT64;AMD64;$(DefineConstants) x86 - 0x10000000 BIT32;$(DefineConstants) @@ -70,18 +68,12 @@ false true full - _LOGGING;DEBUG;TRACE;$(DefineConstants) + _LOGGING;DEBUG;$(DefineConstants) CODE_ANALYSIS;$(DefineConstants) true true - pdbOnly - TRACE;$(DefineConstants) - - - - portable @@ -97,8 +89,6 @@ $(MSBuildThisFileDirectory)Common $(MSBuildThisFileDirectory)src - $(MSBuildThisFileDirectory) - $(BclSourcesRoot)\System\Globalization\Tables @@ -411,7 +401,10 @@ Silverlight - + + + + None - - $(IntermediateOutputPath)\System.Private.CoreLib.res diff --git a/src/System.Private.CoreLib/Tools/Versioning/GenerateVersionInfo.targets b/src/System.Private.CoreLib/Tools/Versioning/GenerateVersionInfo.targets deleted file mode 100644 index 0e9a226..0000000 --- a/src/System.Private.CoreLib/Tools/Versioning/GenerateVersionInfo.targets +++ /dev/null @@ -1,90 +0,0 @@ - - - - 1 - 0 - 0 - 0 - - - - - - - 999.999.999.0 - false - $(MajorVersion).$(MinorVersion).$(BuildNumberMajor).$(BuildNumberMinor) - - - - true - - - - $(IntermediateOutputPath)GeneratedAssemblyInfo.cs - $(CoreCompileDependsOn);GenerateAssemblyInfo - - - - - - - - - - - - - - - $(IntermediateOutputPath)GeneratedVersion.h - $(BeforeResourceCompileTargets);GenerateVersionHeader - $(IntermediateOutputPath)\NativeVersion.res - $(CoreCompileDependsOn);NativeResourceCompile - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v8.1@InstallationFolder) - $(WindowsSdkDir)bin\x86\rc.exe - - - - - - - - diff --git a/src/System.Private.CoreLib/Tools/Versioning/NativeVersion.rc b/src/System.Private.CoreLib/Tools/Versioning/NativeVersion.rc deleted file mode 100644 index 6a26d16..0000000 --- a/src/System.Private.CoreLib/Tools/Versioning/NativeVersion.rc +++ /dev/null @@ -1,45 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -#include "GeneratedVersion.h" - -#include - -VS_VERSION_INFO VERSIONINFO -FILEVERSION VER_FILEVERSION -PRODUCTVERSION VER_PRODUCTVERSION -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -FILEFLAGS VER_DEBUG -FILEOS VOS__WINDOWS32 -FILETYPE VFT_DLL -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904E4" - BEGIN - VALUE "CompanyName", VER_COMPANYNAME_STR - VALUE "FileDescription", VER_FILEDESCRIPTION_STR - VALUE "FileVersion", VER_FILEVERSION_STR - VALUE "InternalName", VER_INTERNALNAME_STR - VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR - VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR - VALUE "ProductName", VER_PRODUCTNAME_STR - VALUE "ProductVersion", VER_PRODUCTVERSION_STR - END - END - - BLOCK "VarFileInfo" - BEGIN - /* The following line should only be modified for localized versions. */ - /* It consists of any number of WORD,WORD pairs, with each pair */ - /* describing a language,codepage combination supported by the file. */ - /* */ - /* For example, a file might have values "0x409,1252" indicating that it */ - /* supports English language (0x409) in the Windows ANSI codepage (1252). */ - - VALUE "Translation", 0x409, 1252 - - END -END -- 2.7.4