From 89bdca84994a81cca920f445cbbf0da891992dd7 Mon Sep 17 00:00:00 2001 From: Dan Moseley Date: Mon, 21 Aug 2017 15:18:28 -0700 Subject: [PATCH] Clean up VS experience for s.p.corelib.csproj (dotnet/coreclr#13481) * Remove bogus assembly warnings in VS * Fix warnings about sharing files within the project tree * Remove bogus lines * Remove lines showing up as bogus source files * Remove overridden target * feedback Commit migrated from https://github.com/dotnet/coreclr/commit/151002c8814c2f9fdbc0979c6737f6a3e1878fba --- .../mscorlib/System.Private.CoreLib.csproj | 16 ++------ .../src/mscorlib/System.Private.CoreLib.sln | 11 ++---- .../Versioning/GenerateVersionInfo.targets | 38 ++++--------------- .../System.Private.CoreLib.Shared.projitems | 5 +++ .../System.Private.CoreLib.Shared.shproj | 17 --------- 5 files changed, 20 insertions(+), 67 deletions(-) delete mode 100644 src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.shproj diff --git a/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj b/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj index 9c138add064..536715e4742 100644 --- a/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj +++ b/src/coreclr/src/mscorlib/System.Private.CoreLib.csproj @@ -1,6 +1,6 @@  - + @@ -44,6 +44,7 @@ True + false @@ -96,13 +97,6 @@ 6 true - - - - - - - @@ -650,19 +644,17 @@ - + true - FEATURE_IMPLICIT_TLS;FEATURE_HIJACK $(IntermediateOutputPath)\cmake.definitions - true @@ -687,4 +679,4 @@ $(IntermediateOutputPath)\System.Private.CoreLib.res - + \ No newline at end of file diff --git a/src/coreclr/src/mscorlib/System.Private.CoreLib.sln b/src/coreclr/src/mscorlib/System.Private.CoreLib.sln index d5cdd02cf3d..d4052f8058a 100644 --- a/src/coreclr/src/mscorlib/System.Private.CoreLib.sln +++ b/src/coreclr/src/mscorlib/System.Private.CoreLib.sln @@ -1,17 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.26208.0 +VisualStudioVersion = 15.0.26817.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Private.CoreLib", "System.Private.CoreLib.csproj", "{3DA06C3A-2E7B-4CB7-80ED-9B12916013F9}" EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "System.Private.CoreLib.Shared", "shared\System.Private.CoreLib.Shared.shproj", "{C5ED3C1D-B572-46F1-8F96-522A85CE1179}" -EndProject Global - GlobalSection(SharedMSBuildProjectFiles) = preSolution - shared\System.Private.CoreLib.Shared.projitems*{3da06c3a-2e7b-4cb7-80ed-9b12916013f9}*SharedItemsImports = 4 - shared\System.Private.CoreLib.Shared.projitems*{c5ed3c1d-b572-46f1-8f96-522a85ce1179}*SharedItemsImports = 13 - EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Checked|amd64 = Checked|amd64 Checked|arm = Checked|arm @@ -55,4 +49,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DA05075A-7CDA-4F65-AF6A-CB5DB6CF936F} + EndGlobalSection EndGlobal diff --git a/src/coreclr/src/mscorlib/Tools/Versioning/GenerateVersionInfo.targets b/src/coreclr/src/mscorlib/Tools/Versioning/GenerateVersionInfo.targets index 00f5282c7c3..0e9a2263cc3 100644 --- a/src/coreclr/src/mscorlib/Tools/Versioning/GenerateVersionInfo.targets +++ b/src/coreclr/src/mscorlib/Tools/Versioning/GenerateVersionInfo.targets @@ -25,37 +25,13 @@ $(CoreCompileDependsOn);GenerateAssemblyInfo - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + diff --git a/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems b/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems index 5507e0a1cad..bc4876e1023 100644 --- a/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems +++ b/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems @@ -13,6 +13,11 @@ false false + + + true + + diff --git a/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.shproj b/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.shproj deleted file mode 100644 index 20c3de100bf..00000000000 --- a/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.shproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - c5ed3c1d-b572-46f1-8f96-522a85ce1179 - - - true - true - true - - - - - - - - \ No newline at end of file -- GitLab