From 0e7c28f86e646a1c26f1a7ca3343b05b1bb63258 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 27 Oct 2022 01:08:24 +0200 Subject: [PATCH] Centralize [ComVisible(false)] for UWP projects in .targets --- .../Properties/AssemblyInfo.cs | 3 --- src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs | 3 --- src/Directory.Build.targets | 17 +++++++++++++---- 3 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 src/ComputeSharp.D2D1.Uwp/Properties/AssemblyInfo.cs delete mode 100644 src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs diff --git a/src/ComputeSharp.D2D1.Uwp/Properties/AssemblyInfo.cs b/src/ComputeSharp.D2D1.Uwp/Properties/AssemblyInfo.cs deleted file mode 100644 index 5777bd26..00000000 --- a/src/ComputeSharp.D2D1.Uwp/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.InteropServices; - -[assembly: ComVisible(false)] \ No newline at end of file diff --git a/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs b/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs deleted file mode 100644 index 5777bd26..00000000 --- a/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.InteropServices; - -[assembly: ComVisible(false)] \ No newline at end of file diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index a1b282c8..8c724af5 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -2,20 +2,18 @@ + - - true true + - - <_Parameter1>$(SupportedOSVersion) @@ -23,9 +21,20 @@ + + + + + <_Parameter1>false + + + + $(IntermediateOutputPath)$(MSBuildProjectName).SkipLocalsInit.g.cs