From e4f2aba9c868244e7f5298d402038d738b2e9c5d Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 7 Oct 2022 23:46:22 +0200 Subject: [PATCH] Move InternalsVisibleTo to .csproj files --- src/ComputeSharp.Core/ComputeSharp.Core.csproj | 9 +++++++++ src/ComputeSharp.Core/Properties/AssemblyInfo.cs | 8 -------- src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj | 4 ++++ src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs | 7 ++----- src/ComputeSharp/ComputeSharp.csproj | 8 ++++++++ src/ComputeSharp/Properties/AssemblyInfo.cs | 12 ++---------- 6 files changed, 25 insertions(+), 23 deletions(-) delete mode 100644 src/ComputeSharp.Core/Properties/AssemblyInfo.cs diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.csproj b/src/ComputeSharp.Core/ComputeSharp.Core.csproj index f95c4771..a5cf9833 100644 --- a/src/ComputeSharp.Core/ComputeSharp.Core.csproj +++ b/src/ComputeSharp.Core/ComputeSharp.Core.csproj @@ -6,6 +6,15 @@ ComputeSharp.Core.xml + + + + + + + + + true diff --git a/src/ComputeSharp.Core/Properties/AssemblyInfo.cs b/src/ComputeSharp.Core/Properties/AssemblyInfo.cs deleted file mode 100644 index 3450cfcf..00000000 --- a/src/ComputeSharp.Core/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("ComputeSharp")] -[assembly: InternalsVisibleTo("ComputeSharp.Dynamic")] -[assembly: InternalsVisibleTo("ComputeSharp.Pix")] -[assembly: InternalsVisibleTo("ComputeSharp.Uwp")] -[assembly: InternalsVisibleTo("ComputeSharp.WinUI")] -[assembly: InternalsVisibleTo("ComputeSharp.D2D1")] \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj index 7c23d229..79a95749 100644 --- a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj +++ b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj @@ -6,6 +6,10 @@ AnyCPU;x64;ARM64 + + + + true diff --git a/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs b/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs index 99d84570..2acf37cd 100644 --- a/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs @@ -1,6 +1,3 @@ -using System.Runtime.CompilerServices; -using System.Runtime.Versioning; +using System.Runtime.Versioning; -[assembly: SupportedOSPlatform("windows6.2")] - -[assembly: InternalsVisibleTo("ComputeSharp.Tests.Internals")] \ No newline at end of file +[assembly: SupportedOSPlatform("windows6.2")] \ No newline at end of file diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index 6b9326c4..807bda9b 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -5,6 +5,14 @@ ComputeSharp.xml + + + + + + + + true diff --git a/src/ComputeSharp/Properties/AssemblyInfo.cs b/src/ComputeSharp/Properties/AssemblyInfo.cs index 9b6922a1..2acf37cd 100644 --- a/src/ComputeSharp/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp/Properties/AssemblyInfo.cs @@ -1,11 +1,3 @@ -using System.Runtime.CompilerServices; -using System.Runtime.Versioning; +using System.Runtime.Versioning; -[assembly: SupportedOSPlatform("windows6.2")] - -[assembly: InternalsVisibleTo("ComputeSharp.Dynamic")] -[assembly: InternalsVisibleTo("ComputeSharp.Pix")] -[assembly: InternalsVisibleTo("ComputeSharp.Uwp")] -[assembly: InternalsVisibleTo("ComputeSharp.WinUI")] - -[assembly: InternalsVisibleTo("ComputeSharp.Tests.Internals")] \ No newline at end of file +[assembly: SupportedOSPlatform("windows6.2")] \ No newline at end of file