diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/.template.config/dotnetcli.host.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/.template.config/dotnetcli.host.json new file mode 100755 index 0000000000..aa95a21c0f --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/.template.config/dotnetcli.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "TargetFrameworkOverride": { + "isHidden": "true", + "longName": "target-framework-override", + "shortName": "" + }, + "Framework": { + "longName": "framework" + }, + "skipRestore": { + "longName": "no-restore", + "shortName": "" + } + }, + "usageExamples": [ + "--framework netcoreapp2.1" + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/.template.config/template.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/.template.config/template.json new file mode 100755 index 0000000000..6dccd78b94 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/.template.config/template.json @@ -0,0 +1,97 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Microsoft", + "classifications": ["Common", "Library"], + "name": "Class library", + "generatorVersions": "[1.0.0.0-*)", + "description": "A project for creating a class library that targets .NET Standard or .NET Core", + "groupIdentity": "Microsoft.Common.Library", + "precedence": "3000", + "identity": "Microsoft.Common.Library.CSharp.2.1", + "shortName": "classlib", + "tags": { + "language": "C#", + "type": "project" + }, + "sourceName": "Company.ClassLibrary1", + "preferNameDirectory": true, + "baselines": { + "app": { + "description": "Target netcoreapp", + "defaultOverrides": { + "Framework": "netcoreapp2.1" + } + }, + "standard": { + "description": "Target netstandard", + "defaultOverrides": { + "Framework": "netstandard2.0" + } + } + }, + "symbols": { + "TargetFrameworkOverride": { + "type": "parameter", + "description": "Overrides the target framework", + "replaces": "TargetFrameworkOverride", + "datatype": "string", + "defaultValue": "" + }, + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "netcoreapp2.1", + "description": "Target netcoreapp2.1" + }, + { + "choice": "netstandard2.0", + "description": "Target netstandard2.0" + } + ], + "replaces": "netstandard2.0", + "defaultValue": "netstandard2.0" + }, + "HostIdentifier": { + "type": "bind", + "binding": "HostIdentifier" + }, + "skipRestore": { + "type": "parameter", + "datatype": "bool", + "description": "If specified, skips the automatic restore of the project on create.", + "defaultValue": "false" + } + }, + "primaryOutputs": [ + { "path": "Company.ClassLibrary1.csproj" }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "path": "Class1.cs" + } + ], + "defaultName": "ClassLibrary1", + "postActions": [ + { + "condition": "(!skipRestore)", + "description": "Restore NuGet packages required by this project.", + "manualInstructions": [ + { "text": "Run 'dotnet restore'" } + ], + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "continueOnError": true + }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "description": "Opens Class1.cs in the editor", + "manualInstructions": [ ], + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", + "args": { + "files": "1" + }, + "continueOnError": true + } + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/Class1.cs b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/Class1.cs new file mode 100755 index 0000000000..72abb3efe5 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/Class1.cs @@ -0,0 +1,8 @@ +using System; + +namespace Company.ClassLibrary1 +{ + public class Class1 + { + } +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/Company.ClassLibrary1.csproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/Company.ClassLibrary1.csproj new file mode 100755 index 0000000000..e5717b7800 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-CSharp/Company.ClassLibrary1.csproj @@ -0,0 +1,9 @@ + + + + netstandard2.0 + TargetFrameworkOverride + Company.ClassLibrary1 + + + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/.template.config/dotnetcli.host.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/.template.config/dotnetcli.host.json new file mode 100755 index 0000000000..aa95a21c0f --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/.template.config/dotnetcli.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "TargetFrameworkOverride": { + "isHidden": "true", + "longName": "target-framework-override", + "shortName": "" + }, + "Framework": { + "longName": "framework" + }, + "skipRestore": { + "longName": "no-restore", + "shortName": "" + } + }, + "usageExamples": [ + "--framework netcoreapp2.1" + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/.template.config/template.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/.template.config/template.json new file mode 100755 index 0000000000..be23d242af --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/.template.config/template.json @@ -0,0 +1,97 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Microsoft", + "classifications": ["Common", "Library"], + "name": "Class library", + "generatorVersions": "[1.0.0.0-*)", + "description": "A project for creating a class library that targets .NET Standard or .NET Core", + "groupIdentity": "Microsoft.Common.Library", + "precedence": "3000", + "identity": "Microsoft.Common.Library.FSharp.2.1", + "shortName": "classlib", + "tags": { + "language": "F#", + "type": "project" + }, + "sourceName": "Company.ClassLibrary1", + "preferNameDirectory": true, + "baselines": { + "app": { + "description": "Target netcoreapp", + "defaultOverrides": { + "Framework": "netcoreapp2.1" + } + }, + "standard": { + "description": "Target netstandard", + "defaultOverrides": { + "Framework": "netstandard2.0" + } + } + }, + "symbols": { + "TargetFrameworkOverride": { + "type": "parameter", + "description": "Overrides the target framework", + "replaces": "TargetFrameworkOverride", + "datatype": "string", + "defaultValue": "" + }, + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "netcoreapp2.1", + "description": "Target netcoreapp2.1" + }, + { + "choice": "netstandard2.0", + "description": "Target netstandard2.0" + } + ], + "replaces": "netstandard2.0", + "defaultValue": "netstandard2.0" + }, + "HostIdentifier": { + "type": "bind", + "binding": "HostIdentifier" + }, + "skipRestore": { + "type": "parameter", + "datatype": "bool", + "description": "If specified, skips the automatic restore of the project on create.", + "defaultValue": "false" + } + }, + "primaryOutputs": [ + { "path": "Company.ClassLibrary1.fsproj" }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "path": "Library.fs" + } + ], + "defaultName": "ClassLibrary1", + "postActions": [ + { + "condition": "(!skipRestore)", + "description": "Restore NuGet packages required by this project.", + "manualInstructions": [ + { "text": "Run 'dotnet restore'" } + ], + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "continueOnError": true + }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "description": "Opens Library.fs in the editor", + "manualInstructions": [ ], + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", + "args": { + "files": "1" + }, + "continueOnError": true + } + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/Company.ClassLibrary1.fsproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/Company.ClassLibrary1.fsproj new file mode 100755 index 0000000000..0f84550d8e --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/Company.ClassLibrary1.fsproj @@ -0,0 +1,13 @@ + + + + netstandard2.0 + TargetFrameworkOverride + Company.ClassLibrary1 + + + + + + + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/Library.fs b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/Library.fs new file mode 100755 index 0000000000..227902f443 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-FSharp/Library.fs @@ -0,0 +1,5 @@ +namespace Company.ClassLibrary1 + +module Say = + let hello name = + printfn "Hello %s" name diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/.template.config/dotnetcli.host.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/.template.config/dotnetcli.host.json new file mode 100755 index 0000000000..aa95a21c0f --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/.template.config/dotnetcli.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "TargetFrameworkOverride": { + "isHidden": "true", + "longName": "target-framework-override", + "shortName": "" + }, + "Framework": { + "longName": "framework" + }, + "skipRestore": { + "longName": "no-restore", + "shortName": "" + } + }, + "usageExamples": [ + "--framework netcoreapp2.1" + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/.template.config/template.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/.template.config/template.json new file mode 100755 index 0000000000..ef8eb00190 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/.template.config/template.json @@ -0,0 +1,97 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Microsoft", + "classifications": ["Common", "Library"], + "name": "Class library", + "generatorVersions": "[1.0.0.0-*)", + "description": "A project for creating a class library that targets .NET Standard or .NET Core", + "groupIdentity": "Microsoft.Common.Library", + "precedence": "3000", + "identity": "Microsoft.Common.Library.VisualBasic.2.1", + "shortName": "classlib", + "tags": { + "language": "VB", + "type": "project" + }, + "sourceName": "Company.ClassLibrary1", + "preferNameDirectory": true, + "baselines": { + "app": { + "description": "Target netcoreapp", + "defaultOverrides": { + "Framework": "netcoreapp2.1" + } + }, + "standard": { + "description": "Target netstandard", + "defaultOverrides": { + "Framework": "netstandard2.0" + } + } + }, + "symbols": { + "TargetFrameworkOverride": { + "type": "parameter", + "description": "Overrides the target framework", + "replaces": "TargetFrameworkOverride", + "datatype": "string", + "defaultValue": "" + }, + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "netcoreapp2.1", + "description": "Target netcoreapp2.1" + }, + { + "choice": "netstandard2.0", + "description": "Target netstandard2.0" + } + ], + "replaces": "netstandard2.0", + "defaultValue": "netstandard2.0" + }, + "HostIdentifier": { + "type": "bind", + "binding": "HostIdentifier" + }, + "skipRestore": { + "type": "parameter", + "datatype": "bool", + "description": "If specified, skips the automatic restore of the project on create.", + "defaultValue": "false" + } + }, + "primaryOutputs": [ + { "path": "Company.ClassLibrary1.vbproj" }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "path": "Class1.vb" + } + ], + "defaultName": "ClassLibrary1", + "postActions": [ + { + "condition": "(!skipRestore)", + "description": "Restore NuGet packages required by this project.", + "manualInstructions": [ + { "text": "Run 'dotnet restore'" } + ], + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "continueOnError": true + }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "description": "Opens Class1.vb in the editor", + "manualInstructions": [ ], + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", + "args": { + "files": "1" + }, + "continueOnError": true + } + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/Class1.vb b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/Class1.vb new file mode 100755 index 0000000000..bee9b74181 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/Class1.vb @@ -0,0 +1,3 @@ +Public Class Class1 + +End Class diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/Company.ClassLibrary1.vbproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/Company.ClassLibrary1.vbproj new file mode 100755 index 0000000000..9ae5d82ba9 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ClassLibrary-VisualBasic/Company.ClassLibrary1.vbproj @@ -0,0 +1,9 @@ + + + + Company.ClassLibrary1 + netstandard2.0 + TargetFrameworkOverride + + + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/.template.config/dotnetcli.host.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/.template.config/dotnetcli.host.json new file mode 100755 index 0000000000..786611b006 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/.template.config/dotnetcli.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "TargetFrameworkOverride": { + "isHidden": "true", + "longName": "target-framework-override", + "shortName": "" + }, + "Framework": { + "longName": "framework" + }, + "skipRestore": { + "longName": "no-restore", + "shortName": "" + } + }, + "usageExamples": [ + "" + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/.template.config/template.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/.template.config/template.json new file mode 100755 index 0000000000..02de22193a --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/.template.config/template.json @@ -0,0 +1,79 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Microsoft", + "classifications": ["Common", "Console"], + "name": "Console Application", + "generatorVersions": "[1.0.0.0-*)", + "description": "A project for creating a command-line application that can run on .NET Core on Windows, Linux and macOS", + "groupIdentity": "Microsoft.Common.Console", + "precedence": "3000", + "identity": "Microsoft.Common.Console.CSharp.2.1", + "shortName": "console", + "tags": { + "language": "C#", + "type": "project" + }, + "sourceName": "Company.ConsoleApplication1", + "preferNameDirectory": true, + "symbols": { + "TargetFrameworkOverride": { + "type": "parameter", + "description": "Overrides the target framework", + "replaces": "TargetFrameworkOverride", + "datatype": "string", + "defaultValue": "" + }, + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "netcoreapp2.1", + "description": "Target netcoreapp2.1" + } + ], + "replaces": "netcoreapp2.1", + "defaultValue": "netcoreapp2.1" + }, + "HostIdentifier": { + "type": "bind", + "binding": "HostIdentifier" + }, + "skipRestore": { + "type": "parameter", + "datatype": "bool", + "description": "If specified, skips the automatic restore of the project on create.", + "defaultValue": "false" + } + }, + "primaryOutputs": [ + { "path": "Company.ConsoleApplication1.csproj" }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "path": "Program.cs" + } + ], + "defaultName": "ConsoleApp1", + "postActions": [ + { + "condition": "(!skipRestore)", + "description": "Restore NuGet packages required by this project.", + "manualInstructions": [ + { "text": "Run 'dotnet restore'" } + ], + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "continueOnError": true + }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "description": "Opens Program.cs in the editor", + "manualInstructions": [ ], + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", + "args": { + "files": "1" + }, + "continueOnError": true + } + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj new file mode 100755 index 0000000000..3c41ee8565 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj @@ -0,0 +1,10 @@ + + + + Exe + netcoreapp2.1 + TargetFrameworkOverride + Company.ConsoleApplication1 + + + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/Program.cs b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/Program.cs new file mode 100755 index 0000000000..ec62b48323 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-CSharp/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace Company.ConsoleApplication1 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + } + } +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/.template.config/dotnetcli.host.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/.template.config/dotnetcli.host.json new file mode 100755 index 0000000000..786611b006 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/.template.config/dotnetcli.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "TargetFrameworkOverride": { + "isHidden": "true", + "longName": "target-framework-override", + "shortName": "" + }, + "Framework": { + "longName": "framework" + }, + "skipRestore": { + "longName": "no-restore", + "shortName": "" + } + }, + "usageExamples": [ + "" + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/.template.config/template.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/.template.config/template.json new file mode 100755 index 0000000000..cc159f9046 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/.template.config/template.json @@ -0,0 +1,79 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Microsoft", + "classifications": ["Common", "Console"], + "name": "Console Application", + "generatorVersions": "[1.0.0.0-*)", + "description": "A project for creating a command-line application that can run on .NET Core on Windows, Linux and macOS", + "groupIdentity": "Microsoft.Common.Console", + "precedence": "3000", + "identity": "Microsoft.Common.Console.FSharp.2.1", + "shortName": "console", + "tags": { + "language": "F#", + "type": "project" + }, + "sourceName": "Company.ConsoleApplication1", + "preferNameDirectory": true, + "symbols": { + "TargetFrameworkOverride": { + "type": "parameter", + "description": "Overrides the target framework", + "replaces": "TargetFrameworkOverride", + "datatype": "string", + "defaultValue": "" + }, + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "netcoreapp2.1", + "description": "Target netcoreapp2.1" + } + ], + "replaces": "netcoreapp2.1", + "defaultValue": "netcoreapp2.1" + }, + "HostIdentifier": { + "type": "bind", + "binding": "HostIdentifier" + }, + "skipRestore": { + "type": "parameter", + "datatype": "bool", + "description": "If specified, skips the automatic restore of the project on create.", + "defaultValue": "false" + } + }, + "primaryOutputs": [ + { "path": "Company.ConsoleApplication1.fsproj" }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "path": "Program.fs" + } + ], + "defaultName": "ConsoleApp1", + "postActions": [ + { + "condition": "(!skipRestore)", + "description": "Restore NuGet packages required by this project.", + "manualInstructions": [ + { "text": "Run 'dotnet restore'" } + ], + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "continueOnError": true + }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "description": "Opens Program.fs in the editor", + "manualInstructions": [ ], + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", + "args": { + "files": "1" + }, + "continueOnError": true + } + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/Company.ConsoleApplication1.fsproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/Company.ConsoleApplication1.fsproj new file mode 100755 index 0000000000..b34b98a1fa --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/Company.ConsoleApplication1.fsproj @@ -0,0 +1,14 @@ + + + + Exe + netcoreapp2.1 + TargetFrameworkOverride + Company.ConsoleApplication1 + + + + + + + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/Program.fs b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/Program.fs new file mode 100755 index 0000000000..a7458f5220 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-FSharp/Program.fs @@ -0,0 +1,8 @@ +// Learn more about F# at http://fsharp.org + +open System + +[] +let main argv = + printfn "Hello World from F#!" + 0 // return an integer exit code diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/.template.config/dotnetcli.host.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/.template.config/dotnetcli.host.json new file mode 100755 index 0000000000..786611b006 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/.template.config/dotnetcli.host.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "TargetFrameworkOverride": { + "isHidden": "true", + "longName": "target-framework-override", + "shortName": "" + }, + "Framework": { + "longName": "framework" + }, + "skipRestore": { + "longName": "no-restore", + "shortName": "" + } + }, + "usageExamples": [ + "" + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/.template.config/template.json b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/.template.config/template.json new file mode 100755 index 0000000000..ed70cf4a5b --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/.template.config/template.json @@ -0,0 +1,79 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Microsoft", + "classifications": ["Common", "Console"], + "name": "Console Application", + "generatorVersions": "[1.0.0.0-*)", + "description": "A project for creating a command-line application that can run on .NET Core on Windows, Linux and macOS", + "groupIdentity": "Microsoft.Common.Console", + "precedence": "3000", + "identity": "Microsoft.Common.Console.VisualBasic.2.1", + "shortName": "console", + "tags": { + "language": "VB", + "type": "project" + }, + "sourceName": "Company.ConsoleApplication1", + "preferNameDirectory": true, + "symbols": { + "TargetFrameworkOverride": { + "type": "parameter", + "description": "Overrides the target framework", + "replaces": "TargetFrameworkOverride", + "datatype": "string", + "defaultValue": "" + }, + "Framework": { + "type": "parameter", + "description": "The target framework for the project.", + "datatype": "choice", + "choices": [ + { + "choice": "netcoreapp2.1", + "description": "Target netcoreapp2.1" + } + ], + "replaces": "netcoreapp2.1", + "defaultValue": "netcoreapp2.1" + }, + "HostIdentifier": { + "type": "bind", + "binding": "HostIdentifier" + }, + "skipRestore": { + "type": "parameter", + "datatype": "bool", + "description": "If specified, skips the automatic restore of the project on create.", + "defaultValue": "false" + } + }, + "primaryOutputs": [ + { "path": "Company.ConsoleApplication1.vbproj" }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "path": "Program.vb" + } + ], + "defaultName": "ConsoleApp1", + "postActions": [ + { + "condition": "(!skipRestore)", + "description": "Restore NuGet packages required by this project.", + "manualInstructions": [ + { "text": "Run 'dotnet restore'" } + ], + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "continueOnError": true + }, + { + "condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")", + "description": "Opens Program.vb in the editor", + "manualInstructions": [ ], + "actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6", + "args": { + "files": "1" + }, + "continueOnError": true + } + ] +} diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/Company.ConsoleApplication1.vbproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/Company.ConsoleApplication1.vbproj new file mode 100755 index 0000000000..9621537637 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/Company.ConsoleApplication1.vbproj @@ -0,0 +1,10 @@ + + + + Exe + Company.ConsoleApplication1 + netcoreapp2.1 + TargetFrameworkOverride + + + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/Program.vb b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/Program.vb new file mode 100755 index 0000000000..46283ca231 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/content/ConsoleApplication-VisualBasic/Program.vb @@ -0,0 +1,7 @@ +Imports System + +Module Program + Sub Main(args As String()) + Console.WriteLine("Hello World!") + End Sub +End Module diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/microsoft.dotnet.common.projecttemplates.2.1.1.0.2-beta3.csproj b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/microsoft.dotnet.common.projecttemplates.2.1.1.0.2-beta3.csproj new file mode 100644 index 0000000000..6b512ec924 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/microsoft.dotnet.common.projecttemplates.2.1.1.0.2-beta3.csproj @@ -0,0 +1 @@ + diff --git a/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/microsoft.dotnet.common.projecttemplates.2.1.nuspec b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/microsoft.dotnet.common.projecttemplates.2.1.nuspec new file mode 100755 index 0000000000..971507ef73 --- /dev/null +++ b/src/textOnlyPackages/src/microsoft.dotnet.common.projecttemplates.2.1/1.0.2-beta3/microsoft.dotnet.common.projecttemplates.2.1.nuspec @@ -0,0 +1,17 @@ + + + + Microsoft.DotNet.Common.ProjectTemplates.2.1 + 1.0.2-beta3 + Microsoft + Microsoft + false + https://microsoft.mit-license.org/ + https://github.com/dotnet/templating + .NET Template Pack for Microsoft Template Engine + en-US + + + + + \ No newline at end of file