[netcore] Arcade does not yet have CLSCompliant support, revert to manual settings
authorMarek Safar <marek.safar@gmail.com>
Fri, 14 Jun 2019 19:18:21 +0000 (21:18 +0200)
committerMarek Safar <marek.safar@gmail.com>
Fri, 14 Jun 2019 20:00:40 +0000 (22:00 +0200)
Commit migrated from https://github.com/mono/mono/commit/ef4c8bbbb05ffbcb37e6b2a725b34d4de32f88df

src/mono/netcore/Directory.Build.props
src/mono/netcore/System.Private.CoreLib/AssemblyInfo.cs [new file with mode: 0644]
src/mono/netcore/System.Private.CoreLib/System.Private.CoreLib.csproj

index 8b99c48..7adac5b 100644 (file)
@@ -46,7 +46,6 @@
     <!-- Suppress preview message as we are usually using preview SDK versions. -->
     <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
 
-    <CLSCompliant Condition="'$(CLSCompliant)'==''">true</CLSCompliant>
     <GenFacadesIgnoreBuildAndRevisionMismatch>true</GenFacadesIgnoreBuildAndRevisionMismatch>
   </PropertyGroup>
 </Project>
\ No newline at end of file
diff --git a/src/mono/netcore/System.Private.CoreLib/AssemblyInfo.cs b/src/mono/netcore/System.Private.CoreLib/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..63c70c6
--- /dev/null
@@ -0,0 +1,7 @@
+// 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.
+
+using System;
+
+[assembly: CLSCompliant (true)]
index 317c2df..81a6be3 100644 (file)
 
   <!-- Sources -->
   <ItemGroup>
+      <Compile Include="AssemblyInfo.cs" />
       <Compile Include="resources\SR.common.cs" />
       <Compile Include="resources\SR.cs" />
   </ItemGroup>