From 983e874f4dae747b4e06f4125bbb548165a98275 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 7 Oct 2022 20:38:33 +0200 Subject: [PATCH 1/6] Add [SkipLocalsInit] to all projects --- .../Properties/AssemblyInfo.cs | 3 +++ src/ComputeSharp.Core/Properties/AssemblyInfo.cs | 1 + .../Properties/AssemblyInfo.cs | 3 +++ src/ComputeSharp.Pix/Properties/AssemblyInfo.cs | 5 ++++- src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs | 3 +++ 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs create mode 100644 src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs create mode 100644 src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs diff --git a/src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs b/src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..196f23c5 --- /dev/null +++ b/src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[module: SkipLocalsInit] \ No newline at end of file diff --git a/src/ComputeSharp.Core/Properties/AssemblyInfo.cs b/src/ComputeSharp.Core/Properties/AssemblyInfo.cs index 0a698d43..a5893c97 100644 --- a/src/ComputeSharp.Core/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Core/Properties/AssemblyInfo.cs @@ -4,6 +4,7 @@ [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.D2D1.SourceGenerators/Properties/AssemblyInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..196f23c5 --- /dev/null +++ b/src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[module: SkipLocalsInit] \ No newline at end of file diff --git a/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs b/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs index 2acf37cd..b0b6f87c 100644 --- a/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ -using System.Runtime.Versioning; +using System.Runtime.CompilerServices; +using System.Runtime.Versioning; + +[module: SkipLocalsInit] [assembly: SupportedOSPlatform("windows6.2")] \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs b/src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..196f23c5 --- /dev/null +++ b/src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[module: SkipLocalsInit] \ No newline at end of file From 69515867e697532cc5e28a1848e53715b2e5c30e Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 7 Oct 2022 20:53:16 +0200 Subject: [PATCH 2/6] Move [SkipLocalsInit] logic to .targets file --- .../Properties/AssemblyInfo.cs | 3 -- .../Properties/AssemblyInfo.cs | 2 - .../Properties/AssemblyInfo.cs | 3 -- .../Properties/AssemblyInfo.cs | 5 +-- .../Properties/AssemblyInfo.cs | 2 - .../Properties/AssemblyInfo.cs | 5 +-- .../Properties/AssemblyInfo.cs | 3 -- .../Properties/AssemblyInfo.cs | 5 +-- .../Properties/AssemblyInfo.cs | 3 -- src/ComputeSharp/Properties/AssemblyInfo.cs | 2 - src/Directory.Build.targets | 40 +++++++++++++++++++ 11 files changed, 43 insertions(+), 30 deletions(-) delete mode 100644 src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs delete mode 100644 src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs delete mode 100644 src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs delete mode 100644 src/ComputeSharp.WinUI/Properties/AssemblyInfo.cs create mode 100644 src/Directory.Build.targets diff --git a/src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs b/src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs deleted file mode 100644 index 196f23c5..00000000 --- a/src/ComputeSharp.Core.SourceGenerators/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[module: SkipLocalsInit] \ No newline at end of file diff --git a/src/ComputeSharp.Core/Properties/AssemblyInfo.cs b/src/ComputeSharp.Core/Properties/AssemblyInfo.cs index a5893c97..3450cfcf 100644 --- a/src/ComputeSharp.Core/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Core/Properties/AssemblyInfo.cs @@ -1,7 +1,5 @@ using System.Runtime.CompilerServices; -[module: SkipLocalsInit] - [assembly: InternalsVisibleTo("ComputeSharp")] [assembly: InternalsVisibleTo("ComputeSharp.Dynamic")] [assembly: InternalsVisibleTo("ComputeSharp.Pix")] diff --git a/src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs b/src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs deleted file mode 100644 index 196f23c5..00000000 --- a/src/ComputeSharp.D2D1.SourceGenerators/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[module: SkipLocalsInit] \ No newline at end of file diff --git a/src/ComputeSharp.D2D1/Properties/AssemblyInfo.cs b/src/ComputeSharp.D2D1/Properties/AssemblyInfo.cs index d622c74a..7de3359e 100644 --- a/src/ComputeSharp.D2D1/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.D2D1/Properties/AssemblyInfo.cs @@ -1,6 +1,3 @@ -using System.Runtime.CompilerServices; -using System.Runtime.Versioning; - -[module: SkipLocalsInit] +using System.Runtime.Versioning; [assembly: SupportedOSPlatform("windows6.1")] \ No newline at end of file diff --git a/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs b/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs index 36c2fdf1..99d84570 100644 --- a/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Dynamic/Properties/AssemblyInfo.cs @@ -1,8 +1,6 @@ using System.Runtime.CompilerServices; using System.Runtime.Versioning; -[module: SkipLocalsInit] - [assembly: SupportedOSPlatform("windows6.2")] [assembly: InternalsVisibleTo("ComputeSharp.Tests.Internals")] \ No newline at end of file diff --git a/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs b/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs index b0b6f87c..2acf37cd 100644 --- a/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs @@ -1,6 +1,3 @@ -using System.Runtime.CompilerServices; -using System.Runtime.Versioning; - -[module: SkipLocalsInit] +using System.Runtime.Versioning; [assembly: SupportedOSPlatform("windows6.2")] \ No newline at end of file diff --git a/src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs b/src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs deleted file mode 100644 index 196f23c5..00000000 --- a/src/ComputeSharp.SourceGenerators/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[module: SkipLocalsInit] \ No newline at end of file diff --git a/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs b/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs index eecfefd0..f03c1078 100644 --- a/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp.Uwp/Properties/AssemblyInfo.cs @@ -1,6 +1,3 @@ -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[module: SkipLocalsInit] +using System.Runtime.InteropServices; [assembly: ComVisible(false)] \ No newline at end of file diff --git a/src/ComputeSharp.WinUI/Properties/AssemblyInfo.cs b/src/ComputeSharp.WinUI/Properties/AssemblyInfo.cs deleted file mode 100644 index 196f23c5..00000000 --- a/src/ComputeSharp.WinUI/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[module: SkipLocalsInit] \ No newline at end of file diff --git a/src/ComputeSharp/Properties/AssemblyInfo.cs b/src/ComputeSharp/Properties/AssemblyInfo.cs index 31f57316..9b6922a1 100644 --- a/src/ComputeSharp/Properties/AssemblyInfo.cs +++ b/src/ComputeSharp/Properties/AssemblyInfo.cs @@ -1,8 +1,6 @@ using System.Runtime.CompilerServices; using System.Runtime.Versioning; -[module: SkipLocalsInit] - [assembly: SupportedOSPlatform("windows6.2")] [assembly: InternalsVisibleTo("ComputeSharp.Dynamic")] diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets new file mode 100644 index 00000000..cc2f5c6c --- /dev/null +++ b/src/Directory.Build.targets @@ -0,0 +1,40 @@ + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectName).SkipLocalsInit.g.cs + + +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +[module: System.Runtime.CompilerServices.SkipLocalsInitAttribute]]]> + + + + + + + + + + + + + + \ No newline at end of file From 631618d311dd4f777a1157665b24cbfdc6d28b68 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 7 Oct 2022 23:34:25 +0200 Subject: [PATCH 3/6] Add missing initial clear of stackalloc'd buffers --- .../ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs | 3 +++ .../ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs | 2 ++ ...derGenerator.CreateLoadResourceTextureDescriptionsMethod.cs | 2 ++ 3 files changed, 7 insertions(+) diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs index 53bc8909..e9904031 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateGetInputTypeMethod.cs @@ -99,6 +99,9 @@ partial class ID2D1ShaderGenerator Span selectedSimpleInputIndices = stackalloc bool[8]; Span selectedComplexInputIndices = stackalloc bool[8]; + selectedSimpleInputIndices.Clear(); + selectedComplexInputIndices.Clear(); + // All simple indices must be unique foreach (int index in inputSimpleIndicesBuilder.WrittenSpan) { diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs index c8dd433f..7813b71e 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadInputDescriptionsMethod.cs @@ -76,6 +76,8 @@ partial class ID2D1ShaderGenerator Span selectedInputDescriptionIndices = stackalloc bool[8]; + selectedInputDescriptionIndices.Clear(); + // All input description indices must be unique foreach (InputDescription inputDescription in inputDescriptionsBuilder.WrittenSpan) { diff --git a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs index 0c788c2f..f1bf3151 100644 --- a/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs +++ b/src/ComputeSharp.D2D1.SourceGenerators/ID2D1ShaderGenerator.CreateLoadResourceTextureDescriptionsMethod.cs @@ -115,6 +115,8 @@ partial class ID2D1ShaderGenerator Span selectedResourceTextureIndices = stackalloc bool[16]; + selectedResourceTextureIndices.Clear(); + // All input description indices must be unique (also take this path for invalid indices) foreach ((int? index, _) in resourceTextureInfos.WrittenSpan) { From e4f2aba9c868244e7f5298d402038d738b2e9c5d Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 7 Oct 2022 23:46:22 +0200 Subject: [PATCH 4/6] 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 From 783e81d0ff260681aeb7d840f5ab82948d020742 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 7 Oct 2022 23:54:21 +0200 Subject: [PATCH 5/6] Centralize trimming settings in .targets file --- src/ComputeSharp.Core/ComputeSharp.Core.csproj | 6 ------ src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj | 6 ------ src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj | 6 ------ src/ComputeSharp.Pix/ComputeSharp.Pix.csproj | 6 ------ src/ComputeSharp/ComputeSharp.csproj | 6 ------ src/Directory.Build.targets | 10 ++++++++++ 6 files changed, 10 insertions(+), 30 deletions(-) diff --git a/src/ComputeSharp.Core/ComputeSharp.Core.csproj b/src/ComputeSharp.Core/ComputeSharp.Core.csproj index a5cf9833..4b1039be 100644 --- a/src/ComputeSharp.Core/ComputeSharp.Core.csproj +++ b/src/ComputeSharp.Core/ComputeSharp.Core.csproj @@ -15,12 +15,6 @@ - - - true - true - - diff --git a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj index 181e7103..7ba977ab 100644 --- a/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj +++ b/src/ComputeSharp.D2D1/ComputeSharp.D2D1.csproj @@ -33,12 +33,6 @@ - - - true - true - - diff --git a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj index 79a95749..4322e642 100644 --- a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj +++ b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj @@ -10,12 +10,6 @@ - - - true - true - - diff --git a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj index 1ad34cdb..77635368 100644 --- a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj +++ b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj @@ -6,12 +6,6 @@ AnyCPU;x64;ARM64 - - - true - true - - diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index 807bda9b..fdcabf77 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -13,12 +13,6 @@ - - - true - true - - diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index cc2f5c6c..f881fbc8 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -2,6 +2,16 @@ + + + + + true + true + + + diff --git a/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs b/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs deleted file mode 100644 index 2acf37cd..00000000 --- a/src/ComputeSharp.Pix/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.Versioning; - -[assembly: SupportedOSPlatform("windows6.2")] \ No newline at end of file diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index fdcabf77..fc230ebc 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -3,6 +3,7 @@ netstandard2.0;net6.0 bin\Release ComputeSharp.xml + windows6.2 diff --git a/src/ComputeSharp/Properties/AssemblyInfo.cs b/src/ComputeSharp/Properties/AssemblyInfo.cs deleted file mode 100644 index 2acf37cd..00000000 --- a/src/ComputeSharp/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.Versioning; - -[assembly: SupportedOSPlatform("windows6.2")] \ No newline at end of file diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index f881fbc8..a1b282c8 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -12,6 +12,17 @@ + + + + + + <_Parameter1>$(SupportedOSVersion) + + + +