diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalyst/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystbinding/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystbinding/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystbinding/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystlib/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystlib/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystlib/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystlib/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystlib/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalystlib/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.cs.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.cs.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.cs.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.cs.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.de.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.de.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.de.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.de.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.en.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.en.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.en.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.en.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.es.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.es.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.es.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.es.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.fr.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.fr.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.fr.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.fr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.it.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.it.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.it.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.it.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ja.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ja.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ja.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ja.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ko.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ko.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ko.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ko.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pl.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pl.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pl.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pl.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pt-BR.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pt-BR.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pt-BR.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.pt-BR.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ru.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ru.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ru.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.ru.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.tr.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.tr.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.tr.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.tr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hans.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hans.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hans.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hans.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hant.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hant.json index 8d1d96d1fe79..165a56221a3c 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hant.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/localize/templatestrings.zh-Hant.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "Mac Catalyst Test Project", "description": "A project for creating a .NET Mac Catalyst test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-maccatalyst/description": "Target net11.0-maccatalyst", + "symbols/Framework/choices/net10.0-maccatalyst/description": "Target net10.0-maccatalyst", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/template.json b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/template.json index f5cd12a1c1d8..1061d7ad4638 100644 --- a/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/template.json +++ b/dotnet/Templates/Microsoft.MacCatalyst.Templates/maccatalysttest/csharp/.template.config/template.json @@ -23,6 +23,23 @@ { "path": "MacCatalystTest1.csproj" } ], "symbols": { + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "net11.0-maccatalyst", + "description": "Target net11.0-maccatalyst" + }, + { + "choice": "net10.0-maccatalyst", + "description": "Target net10.0-maccatalyst" + } + ], + "replaces": "net11.0-maccatalyst", + "defaultValue": "net11.0-maccatalyst" + }, "bundleId": { "type": "parameter", "description": "Overrides the ApplicationId in the project file", diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios-notification-content-extension/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ios-notification-content-extension/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios-notification-content-extension/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios-notification-service-extension/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ios-notification-service-extension/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios-notification-service-extension/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios-tabbed/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/fsharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ios/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iosbinding/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/iosbinding/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/iosbinding/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ioslib/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ioslib/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ioslib/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/ioslib/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/ioslib/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/ioslib/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.cs.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.cs.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.cs.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.cs.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.de.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.de.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.de.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.de.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.en.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.en.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.en.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.en.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.es.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.es.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.es.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.es.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.fr.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.fr.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.fr.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.fr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.it.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.it.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.it.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.it.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ja.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ja.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ja.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ja.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ko.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ko.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ko.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ko.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pl.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pl.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pl.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pl.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pt-BR.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pt-BR.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pt-BR.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.pt-BR.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ru.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ru.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ru.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.ru.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.tr.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.tr.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.tr.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.tr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hans.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hans.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hans.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hans.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hant.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hant.json index 46c2d08fe27e..91f0764be61b 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hant.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/localize/templatestrings.zh-Hant.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "iOS Test Project", "description": "A project for creating a .NET iOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-ios/description": "Target net11.0-ios", + "symbols/Framework/choices/net10.0-ios/description": "Target net10.0-ios", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/template.json b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/template.json index 2458528de07c..6bf92bd347d1 100644 --- a/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/template.json +++ b/dotnet/Templates/Microsoft.iOS.Templates/iostest/csharp/.template.config/template.json @@ -23,6 +23,23 @@ { "path": "iOSTest1.csproj" } ], "symbols": { + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "net11.0-ios", + "description": "Target net11.0-ios" + }, + { + "choice": "net10.0-ios", + "description": "Target net10.0-ios" + } + ], + "replaces": "net11.0-ios", + "defaultValue": "net11.0-ios" + }, "bundleId": { "type": "parameter", "description": "Overrides the ApplicationId in the project file", diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macos/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.macOS.Templates/macos/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.macOS.Templates/macos/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macos/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.macOS.Templates/macos/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.macOS.Templates/macos/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macosbinding/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.macOS.Templates/macosbinding/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.macOS.Templates/macosbinding/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macoslib/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.macOS.Templates/macoslib/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.macOS.Templates/macoslib/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macoslib/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.macOS.Templates/macoslib/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.macOS.Templates/macoslib/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.cs.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.cs.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.cs.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.cs.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.de.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.de.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.de.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.de.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.en.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.en.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.en.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.en.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.es.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.es.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.es.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.es.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.fr.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.fr.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.fr.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.fr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.it.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.it.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.it.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.it.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ja.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ja.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ja.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ja.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ko.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ko.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ko.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ko.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pl.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pl.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pl.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pl.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pt-BR.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pt-BR.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pt-BR.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.pt-BR.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ru.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ru.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ru.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.ru.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.tr.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.tr.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.tr.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.tr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hans.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hans.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hans.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hans.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hant.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hant.json index 2ecc02b6552e..6c8125a879cb 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hant.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/localize/templatestrings.zh-Hant.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "macOS Test Project", "description": "A project for creating a .NET macOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-macos/description": "Target net11.0-macos", + "symbols/Framework/choices/net10.0-macos/description": "Target net10.0-macos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/template.json b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/template.json index 2b27f0581997..0d818ddd288d 100644 --- a/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/template.json +++ b/dotnet/Templates/Microsoft.macOS.Templates/macostest/csharp/.template.config/template.json @@ -23,6 +23,23 @@ { "path": "macOSTest1.csproj" } ], "symbols": { + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "net11.0-macos", + "description": "Target net11.0-macos" + }, + { + "choice": "net10.0-macos", + "description": "Target net10.0-macos" + } + ], + "replaces": "net11.0-macos", + "defaultValue": "net11.0-macos" + }, "bundleId": { "type": "parameter", "description": "Overrides the ApplicationId in the project file", diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvos/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvos/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvos/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvos/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvos/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvos/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvosbinding/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvosbinding/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvosbinding/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/visualbasic/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/visualbasic/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvoslib/visualbasic/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/dotnetcli.host.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/dotnetcli.host.json new file mode 100644 index 000000000000..52f775e2b853 --- /dev/null +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/dotnetcli.host.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "Framework": { + "longName": "framework", + "shortName": "f" + } + } +} diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.cs.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.cs.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.cs.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.cs.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.de.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.de.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.de.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.de.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.en.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.en.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.en.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.en.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.es.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.es.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.es.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.es.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.fr.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.fr.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.fr.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.fr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.it.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.it.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.it.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.it.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ja.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ja.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ja.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ja.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ko.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ko.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ko.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ko.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pl.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pl.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pl.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pl.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pt-BR.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pt-BR.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pt-BR.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.pt-BR.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ru.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ru.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ru.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.ru.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.tr.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.tr.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.tr.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.tr.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hans.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hans.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hans.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hans.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hant.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hant.json index 7f4b9444b6d7..6032c5a138a9 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hant.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/localize/templatestrings.zh-Hant.json @@ -2,6 +2,9 @@ "author": "Microsoft", "name": "tvOS Test Project", "description": "A project for creating a .NET tvOS test project using MSTest", + "symbols/Framework/description": "The target framework for the project.", + "symbols/Framework/choices/net11.0-tvos/description": "Target net11.0-tvos", + "symbols/Framework/choices/net10.0-tvos/description": "Target net10.0-tvos", "symbols/bundleId/description": "Overrides the ApplicationId in the project file", "symbols/minOSVersion/description": "Overrides SupportedOSPlatformVersion in the project file" } \ No newline at end of file diff --git a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/template.json b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/template.json index 4dbe48448de2..df902899e510 100644 --- a/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/template.json +++ b/dotnet/Templates/Microsoft.tvOS.Templates/tvostest/csharp/.template.config/template.json @@ -23,6 +23,23 @@ { "path": "tvOSTest1.csproj" } ], "symbols": { + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "net11.0-tvos", + "description": "Target net11.0-tvos" + }, + { + "choice": "net10.0-tvos", + "description": "Target net10.0-tvos" + } + ], + "replaces": "net11.0-tvos", + "defaultValue": "net11.0-tvos" + }, "bundleId": { "type": "parameter", "description": "Overrides the ApplicationId in the project file", diff --git a/tests/common/DotNet.cs b/tests/common/DotNet.cs index 50a6919c99d8..96d2644f9962 100644 --- a/tests/common/DotNet.cs +++ b/tests/common/DotNet.cs @@ -102,7 +102,7 @@ public static ExecutionResult Build (string project, Dictionary? return Execute ("build", project, properties, false); } - public static ExecutionResult AssertNew (string outputDirectory, string template, string? name = null, string? language = null) + public static ExecutionResult AssertNew (string outputDirectory, string template, string? name = null, string? language = null, params string [] extraArguments) { Directory.CreateDirectory (outputDirectory); @@ -119,6 +119,8 @@ public static ExecutionResult AssertNew (string outputDirectory, string template args.Add (language); } + args.AddRange (extraArguments); + var env = new Dictionary (); env ["MSBuildSDKsPath"] = null; env ["MSBUILD_EXE_PATH"] = null; diff --git a/tests/dotnet/UnitTests/TemplateTest.cs b/tests/dotnet/UnitTests/TemplateTest.cs index 8e27a268d56b..c4d74f8a8820 100644 --- a/tests/dotnet/UnitTests/TemplateTest.cs +++ b/tests/dotnet/UnitTests/TemplateTest.cs @@ -154,6 +154,21 @@ public static TemplateInfo [] GetProjectTemplates () return Templates.Where (v => v.TemplateType == TemplateType.Project).ToArray (); } + public static IEnumerable GetProjectTemplateFrameworks () + { + foreach (var info in GetProjectTemplates ()) { + var configPath = Path.Combine (Configuration.SourceRoot, "dotnet", "Templates", $"Microsoft.{info.Platform.AsString ()}.Templates", info.Template, info.Language?.AsString () ?? "", ".template.config", "template.json"); + using var config = JsonDocument.Parse (File.ReadAllText (configPath)); + var framework = config.RootElement.GetProperty ("symbols").GetProperty ("Framework"); + yield return new TestCaseData (info, null, framework.GetProperty ("defaultValue").GetString ()); + foreach (var choice in framework.GetProperty ("choices").EnumerateArray ()) { + var targetFramework = choice.GetProperty ("choice").GetString (); + yield return new TestCaseData (info, "--framework", targetFramework); + yield return new TestCaseData (info, "-f", targetFramework); + } + } + } + public class TemplateConfig { public string? Name; public string? ShortName; @@ -250,6 +265,18 @@ public void CreateAndBuildProjectTemplate (TemplateInfo info) } } + [TestCaseSource (nameof (GetProjectTemplateFrameworks))] + public void CreateProjectTemplateWithFramework (TemplateInfo info, string? option, string targetFramework) + { + Configuration.IgnoreIfIgnoredPlatform (info.Platform); + + var language = info.Language ?? TemplateLanguage.CSharp; + var outputDir = Path.Combine (Cache.CreateTemporaryDirectory (), info.Template); + DotNet.AssertNew (outputDir, info.Template, language: language.AsLanguageIdentifier (), extraArguments: option is null ? [] : [option, targetFramework]); + var projectPath = Path.Combine (outputDir, $"{info.Template}.{language.AsFileExtension ()}"); + Assert.That (File.ReadAllText (projectPath), Does.Contain ($"{targetFramework}"), "The generated project must target the selected framework."); + } + [Test] [TestCase (ApplePlatform.iOS, TemplateLanguage.CSharp)] [TestCase (ApplePlatform.iOS, TemplateLanguage.FSharp)]