From eef13a4b33ebfec6023e56128bbd2804adc9a96b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 25 Oct 2022 21:27:23 +0300 Subject: VS: Add COMMON_LANGUAGE_RUNTIME support for "netcore" Generate `CLRSupport` for Visual Studio projects. Fixes: #22054 --- Templates/MSBuild/FlagTables/v142_CL.json | 7 +++++++ Templates/MSBuild/FlagTables/v143_CL.json | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'Templates') diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json index c76c040bc0..4f2dce8c77 100644 --- a/Templates/MSBuild/FlagTables/v142_CL.json +++ b/Templates/MSBuild/FlagTables/v142_CL.json @@ -55,6 +55,13 @@ "value": "Safe", "flags": [] }, + { + "name": "CLRSupport", + "switch": "clr:netcore", + "comment": ".NET Core Runtime Support", + "value": "NetCore", + "flags": [] + }, { "name": "WarningLevel", "switch": "W0", diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json index 993fbf14d9..119e171c2a 100644 --- a/Templates/MSBuild/FlagTables/v143_CL.json +++ b/Templates/MSBuild/FlagTables/v143_CL.json @@ -55,6 +55,13 @@ "value": "Safe", "flags": [] }, + { + "name": "CLRSupport", + "switch": "clr:netcore", + "comment": ".NET Core Runtime Support", + "value": "NetCore", + "flags": [] + }, { "name": "WarningLevel", "switch": "W0", -- cgit v1.2.1