Get VS to quit bugging me about replacing SR.cs already. (dotnet/coreclr#10530)
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>
Tue, 28 Mar 2017 21:03:21 +0000 (14:03 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2017 21:03:21 +0000 (14:03 -0700)
Fix https://github.com/dotnet/coreclr/issues/10358

Commit migrated from https://github.com/dotnet/coreclr/commit/9e9eb4548e055f2aa12a5300c0ce207d524ee9ca

src/coreclr/src/mscorlib/System.Private.CoreLib.csproj

index bba1ff4..adeac14 100644 (file)
@@ -39,6 +39,7 @@
          the GenerateReferenceAssemblyPaths task (not target) and to prevent it from outputting a warning (MSB3644). -->
     <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)/Documentation</_TargetFrameworkDirectories>
     <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)/Documentation</_FullFrameworkReferenceAssemblyPaths>
+    <SkipCommonResourcesIncludes>true</SkipCommonResourcesIncludes>
   </PropertyGroup>
   <!-- Add Serviceable attribute to the project's metadata -->
   <ItemGroup>
     <!-- These files are shared with other framework components and don't live the same folder as the rest of them-->
     <Compile Include="$(CommonPath)\NotImplemented.cs" />
     <Compile Include="$(CommonPath)\PinnableBufferCache.cs" />
+    <Compile Include="$(CommonPath)\System\SR.cs" />
     <!-- Include Internals visible to file in the compilation -->
     <Compile Include="$(BclSourcesRoot)\mscorlib.Friends.cs" />
     <!-- TODO list of types to be cleaned up from CoreLib -->