Remove non-ASP.NET templates

This commit is contained in:
Steve Sanderson 2017-08-29 12:05:51 +01:00
parent 03d40f712c
commit f90c9cc693
134 changed files with 0 additions and 3836 deletions

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Microsoft.DotNet.Common.ItemTemplates</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>Common File Templates for Microsoft Template Engine</description>
<language>en-US</language>
<projectUrl>https://github.com/dotnet/templating</projectUrl>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl>
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
<files>
<file src="content/**" target="" />
</files>
</package>

View File

@ -1,21 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<NuspecFile>$(MSBuildThisFileDirectory)\Templates.nuspec</NuspecFile>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputPath>$(TemplatesFolder)</OutputPath>
<EnableDefaultItems>False</EnableDefaultItems>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\scratch</BaseIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
<Compile Remove="$(GitInfoFile)" />
<Compile Remove="$(MSBuildThisFileDirectory)../../src/GitInfo.cs" />
<None Remove="**/*.csproj" />
</ItemGroup>
</Project>

View File

@ -1,12 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"SdkVersion": {
"longName": "sdk-version",
"shortName": ""
},
"dotnet-cli-version": {
"isHidden": "true"
}
}
}

View File

@ -1,54 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Config"],
"name": "global.json file",
"generatorVersions": "[1.0.0.0-*)",
"description": "A file for selecting the .NET Core SDK version.",
"tags": {
"type": "item"
},
"groupIdentity": "GlobalJsonFile",
"precedence": "100",
"identity": "Microsoft.Standard.QuickStarts.GlobalJsonFile",
"shortName": "globaljson",
"sourceName": "unused",
"primaryOutputs": [ { "path": "global.json" } ],
"defaultName": "global.json",
"symbols": {
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
},
"SdkVersion": {
"type": "parameter",
"datatype": "string",
"description": "The version of the .NET Core SDK to use."
},
"dotnet-cli-version": {
"type": "parameter",
"datatype": "string"
},
"CombinedVersion": {
"type": "generated",
"generator": "coalesce",
"parameters": {
"sourceVariableName": "SdkVersion",
"fallbackVariableName": "dotnet-cli-version"
},
"replaces": "SDK_VERSION"
},
},
"postActions": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens global.json in the editor",
"manualInstructions": [ ],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
]
}

View File

@ -1,5 +0,0 @@
{
"sdk": {
"version": "SDK_VERSION"
}
}

View File

@ -1,3 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host"
}

View File

@ -1,36 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Config"],
"name": "Nuget Config",
"generatorVersions": "[1.0.0.0-*)",
"description": "A file for configuring the locations NuGet will search for packages",
"tags": {
"type": "item"
},
"groupIdentity": "ItemNugetConfig",
"precedence": "100",
"identity": "Microsoft.Standard.QuickStarts.Nuget.Config",
"shortName": "nugetconfig",
"sourceName": "Nuget",
"primaryOutputs": [ { "path": "nuget.config" } ],
"defaultName": "nuget.config",
"symbols": {
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
}
},
"postActions": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens nuget.config in the editor",
"manualInstructions": [ ],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
]
}

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
</packageSources>
</configuration>

View File

@ -1,3 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host"
}

View File

@ -1,15 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Solution"],
"name": "Solution File",
"generatorVersions": "[1.0.0.0-*)",
"description": "Create an empty solution containing no projects",
"groupIdentity": "ItemSolution",
"precedence": "100",
"identity": "Microsoft.Standard.QuickStarts.Solution",
"shortName": "sln",
"sourceName": "Solution1",
"primaryOutputs": [ { "path": "Solution1.sln" } ],
"defaultName": "Solution1"
}

View File

@ -1,18 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,3 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host"
}

View File

@ -1,36 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Config"],
"name": "Web Config",
"generatorVersions": "[1.0.0.0-*)",
"description": "A file used to configure Web Application settings",
"tags": {
"type": "item"
},
"groupIdentity": "ItemWebConfig",
"precedence": "100",
"identity": "Microsoft.Standard.QuickStarts.Web.Config",
"shortName": "webconfig",
"sourceName": "WebConfig",
"primaryOutputs": [ { "path": "web.config" } ],
"defaultName": "web.config",
"symbols": {
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
}
},
"postActions": [
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens web.config in the editor",
"manualInstructions": [ ],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
]
}

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- To customize the asp.net core module uncomment and edit the following section.
For more info see https://go.microsoft.com/fwlink/?linkid=838655 -->
<!--
<system.webServer>
<handlers>
<remove name="aspNetCore"/>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
-->
</configuration>

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Microsoft.DotNet.Common.ProjectTemplates.1.x</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>.NET Template Pack for Microsoft Template Engine</description>
<language>en-US</language>
<projectUrl>https://github.com/dotnet/templating</projectUrl>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl>
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
<files>
<file src="content/**" target="" />
</files>
</package>

View File

@ -1,20 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<NuspecFile>$(MSBuildThisFileDirectory)\Templates.nuspec</NuspecFile>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputPath>$(TemplatesFolder)</OutputPath>
<EnableDefaultItems>False</EnableDefaultItems>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\scratch</BaseIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
<Compile Remove="$(GitInfoFile)" />
<Compile Remove="$(MSBuildThisFileDirectory)../../src/GitInfo.cs" />
</ItemGroup>
</Project>

View File

@ -1,20 +0,0 @@
{
"$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 netcoreapp1.1"
]
}

View File

@ -1,125 +0,0 @@
{
"$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": "100",
"identity": "Microsoft.Common.Library.CSharp",
"shortName": "classlib",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.ClassLibrary1",
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"defaultOverrides": {
"Framework": "netcoreapp1.1"
}
},
"standard": {
"description": "Target netstandard",
"defaultOverrides": {
"Framework": "netstandard1.4"
}
}
},
"symbols": {
"TargetFrameworkOverride": {
"type": "parameter",
"description": "Overrides the target framework",
"replaces": "TargetFrameworkOverride",
"datatype": "string",
"defaultValue": ""
},
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"replaces": "netstandard1.4",
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
},
{
"choice": "netstandard1.0",
"description": "Target netstandard1.0"
},
{
"choice": "netstandard1.1",
"description": "Target netstandard1.1"
},
{
"choice": "netstandard1.2",
"description": "Target netstandard1.2"
},
{
"choice": "netstandard1.3",
"description": "Target netstandard1.3"
},
{
"choice": "netstandard1.4",
"description": "Target netstandard1.4"
},
{
"choice": "netstandard1.5",
"description": "Target netstandard1.5"
},
{
"choice": "netstandard1.6",
"description": "Target netstandard1.6"
}
],
"defaultValue": "netstandard1.4"
},
"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
}
]
}

View File

@ -1,8 +0,0 @@
using System;
namespace Company.ClassLibrary1
{
public class Class1
{
}
}

View File

@ -1,8 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard1.4</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,17 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
}
}

View File

@ -1,101 +0,0 @@
{
"$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": "100",
"identity": "Microsoft.Common.Library.FSharp",
"shortName": "classlib",
"tags": {
"language": "F#",
"type": "project"
},
"sourceName": "Company.ClassLibrary1",
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"defaultOverrides": {
"Framework": "netcoreapp1.1"
}
},
"standard": {
"description": "Target netstandard",
"defaultOverrides": {
"Framework": "netstandard1.6"
}
}
},
"symbols": {
"TargetFrameworkOverride": {
"type": "parameter",
"description": "Overrides the target framework",
"replaces": "TargetFrameworkOverride",
"datatype": "string",
"defaultValue": ""
},
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"replaces": "netcoreapp1.1",
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
},
{
"choice": "netstandard1.6",
"description": "Target netstandard1.6"
}
],
"defaultValue": "netcoreapp1.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.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
}
]
}

View File

@ -1,12 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard1.6</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Library.fs" />
</ItemGroup>
</Project>

View File

@ -1,5 +0,0 @@
namespace Company.ClassLibrary1
module Say =
let hello name =
printfn "Hello %s" name

View File

@ -1,20 +0,0 @@
{
"$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 netcoreapp1.1"
]
}

View File

@ -1,125 +0,0 @@
{
"$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": "100",
"identity": "Microsoft.Common.Library.VisualBasic",
"shortName": "classlib",
"tags": {
"language": "VB",
"type": "project"
},
"sourceName": "Company.ClassLibrary1",
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"defaultOverrides": {
"Framework": "netcoreapp1.1"
}
},
"standard": {
"description": "Target netstandard",
"defaultOverrides": {
"Framework": "netstandard1.4"
}
}
},
"symbols": {
"TargetFrameworkOverride": {
"type": "parameter",
"description": "Overrides the target framework",
"replaces": "TargetFrameworkOverride",
"datatype": "string",
"defaultValue": ""
},
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"replaces": "netstandard1.4",
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
},
{
"choice": "netstandard1.0",
"description": "Target netstandard1.0"
},
{
"choice": "netstandard1.1",
"description": "Target netstandard1.1"
},
{
"choice": "netstandard1.2",
"description": "Target netstandard1.2"
},
{
"choice": "netstandard1.3",
"description": "Target netstandard1.3"
},
{
"choice": "netstandard1.4",
"description": "Target netstandard1.4"
},
{
"choice": "netstandard1.5",
"description": "Target netstandard1.5"
},
{
"choice": "netstandard1.6",
"description": "Target netstandard1.6"
}
],
"defaultValue": "netstandard1.4"
},
"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
}
]
}

View File

@ -1,8 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard1.4</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,20 +0,0 @@
{
"$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 netcoreapp1.1"
]
}

View File

@ -1,82 +0,0 @@
{
"$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": "100",
"identity": "Microsoft.Common.Console.CSharp",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.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
}
]
}

View File

@ -1,10 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,12 +0,0 @@
using System;
namespace Company.ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}

View File

@ -1,20 +0,0 @@
{
"$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 netcoreapp1.1"
]
}

View File

@ -1,82 +0,0 @@
{
"$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": "100",
"identity": "Microsoft.Common.Console.FSharp",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.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
}
]
}

View File

@ -1,14 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
</Project>

View File

@ -1,8 +0,0 @@
// Learn more about F# at http://fsharp.org
open System
[<EntryPoint>]
let main argv =
printfn "Hello World from F#!"
0 // return an integer exit code

View File

@ -1,20 +0,0 @@
{
"$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 netcoreapp1.1"
]
}

View File

@ -1,82 +0,0 @@
{
"$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": "100",
"identity": "Microsoft.Common.Console.VisualBasic",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.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
}
]
}

View File

@ -1,10 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,7 +0,0 @@
Imports System
Module Program
Sub Main(args As String())
Console.WriteLine("Hello World!")
End Sub
End Module

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Microsoft.DotNet.Common.ProjectTemplates.2.0</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>.NET Template Pack for Microsoft Template Engine</description>
<language>en-US</language>
<projectUrl>https://github.com/dotnet/templating</projectUrl>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl>
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
<files>
<file src="content/**" target="" />
</files>
</package>

View File

@ -1,20 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<NuspecFile>$(MSBuildThisFileDirectory)\Templates.nuspec</NuspecFile>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputPath>$(TemplatesFolder)</OutputPath>
<EnableDefaultItems>False</EnableDefaultItems>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\scratch</BaseIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
<Compile Remove="$(GitInfoFile)" />
<Compile Remove="$(MSBuildThisFileDirectory)../../src/GitInfo.cs" />
</ItemGroup>
</Project>

View File

@ -1,20 +0,0 @@
{
"$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.0"
]
}

View File

@ -1,97 +0,0 @@
{
"$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": "2000",
"identity": "Microsoft.Common.Library.CSharp.2.0",
"shortName": "classlib",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.ClassLibrary1",
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"defaultOverrides": {
"Framework": "netcoreapp2.0"
}
},
"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.0",
"description": "Target netcoreapp2.0"
},
{
"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
}
]
}

View File

@ -1,8 +0,0 @@
using System;
namespace Company.ClassLibrary1
{
public class Class1
{
}
}

View File

@ -1,8 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,20 +0,0 @@
{
"$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.0"
]
}

View File

@ -1,97 +0,0 @@
{
"$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": "2000",
"identity": "Microsoft.Common.Library.FSharp.2.0",
"shortName": "classlib",
"tags": {
"language": "F#",
"type": "project"
},
"sourceName": "Company.ClassLibrary1",
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"defaultOverrides": {
"Framework": "netcoreapp2.0"
}
},
"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.0",
"description": "Target netcoreapp2.0"
},
{
"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
}
]
}

View File

@ -1,12 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Library.fs" />
</ItemGroup>
</Project>

View File

@ -1,5 +0,0 @@
namespace Company.ClassLibrary1
module Say =
let hello name =
printfn "Hello %s" name

View File

@ -1,20 +0,0 @@
{
"$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.0"
]
}

View File

@ -1,97 +0,0 @@
{
"$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": "2000",
"identity": "Microsoft.Common.Library.VisualBasic.2.0",
"shortName": "classlib",
"tags": {
"language": "VB",
"type": "project"
},
"sourceName": "Company.ClassLibrary1",
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"defaultOverrides": {
"Framework": "netcoreapp2.0"
}
},
"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.0",
"description": "Target netcoreapp2.0"
},
{
"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
}
]
}

View File

@ -1,8 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,20 +0,0 @@
{
"$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": [
""
]
}

View File

@ -1,79 +0,0 @@
{
"$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": "2000",
"identity": "Microsoft.Common.Console.CSharp.2.0",
"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.0",
"description": "Target netcoreapp2.0"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.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.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
}
]
}

View File

@ -1,9 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,12 +0,0 @@
using System;
namespace Company.ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}

View File

@ -1,20 +0,0 @@
{
"$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": [
""
]
}

View File

@ -1,79 +0,0 @@
{
"$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": "2000",
"identity": "Microsoft.Common.Console.FSharp.2.0",
"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.0",
"description": "Target netcoreapp2.0"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.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.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
}
]
}

View File

@ -1,13 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
</Project>

View File

@ -1,8 +0,0 @@
// Learn more about F# at http://fsharp.org
open System
[<EntryPoint>]
let main argv =
printfn "Hello World from F#!"
0 // return an integer exit code

View File

@ -1,20 +0,0 @@
{
"$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": [
""
]
}

View File

@ -1,79 +0,0 @@
{
"$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": "2000",
"identity": "Microsoft.Common.Console.VisualBasic.2.0",
"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.0",
"description": "Target netcoreapp2.0"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.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.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
}
]
}

View File

@ -1,9 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,7 +0,0 @@
Imports System
Module Program
Sub Main(args As String())
Console.WriteLine("Hello World!")
End Sub
End Module

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Microsoft.DotNet.Test.ProjectTemplates.1.x</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>.NET Template Pack Test projects for Microsoft Template Engine</description>
<language>en-US</language>
<projectUrl>https://github.com/dotnet/templating</projectUrl>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl>
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
<files>
<file src="content/**" target="" />
</files>
</package>

View File

@ -1,20 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<NuspecFile>$(MSBuildThisFileDirectory)\Templates.nuspec</NuspecFile>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputPath>$(TemplatesFolder)</OutputPath>
<EnableDefaultItems>False</EnableDefaultItems>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\scratch</BaseIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
<Compile Remove="$(GitInfoFile)" />
<Compile Remove="$(MSBuildThisFileDirectory)../../src/GitInfo.cs" />
</ItemGroup>
</Project>

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp1.1"
]
}

View File

@ -1,88 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "MSTest"],
"name": "Unit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains unit tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.MSTest",
"precedence": "100",
"identity": "Microsoft.Test.MSTest.CSharp",
"shortName": "mstest",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.1"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.csproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UnitTest1.cs"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,18 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
</ItemGroup>
</Project>

View File

@ -1,13 +0,0 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Company.TestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp1.1"
]
}

View File

@ -1,88 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "MSTest"],
"name": "Unit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains unit tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.MSTest",
"precedence": "100",
"identity": "Microsoft.Test.MSTest.FSharp",
"shortName": "mstest",
"tags": {
"language": "F#",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.1"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.fsproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "Tests.fs"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<Compile Include="Tests.fs" />
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
</ItemGroup>
</Project>

View File

@ -1 +0,0 @@
module Program = let [<EntryPoint>] main _ = 0

View File

@ -1,11 +0,0 @@
namespace Company.TestProject1
open System
open Microsoft.VisualStudio.TestTools.UnitTesting
[<TestClass>]
type TestClass () =
[<TestMethod>]
member this.TestMethodPassing () =
Assert.IsTrue(true);

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp1.1"
]
}

View File

@ -1,89 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "MSTest"],
"name": "Unit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains unit tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.MSTest",
"precedence": "100",
"identity": "Microsoft.Test.MSTest.VisualBasic",
"shortName": "mstest",
"tags": {
"language": "VB",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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",
"replaces": "netcoreapp1.1",
"choices": [
{
"choice": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.1"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.vbproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UnitTest1.vb"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,17 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
</ItemGroup>
</Project>

View File

@ -1,12 +0,0 @@
Imports Microsoft.VisualStudio.TestTools.UnitTesting
Namespace Company.TestProject1
<TestClass>
Public Class UnitTest1
<TestMethod>
Sub TestSub()
End Sub
End Class
End Namespace

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp1.1"
]
}

View File

@ -1,88 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "xUnit"],
"name": "xUnit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains xUnit.net tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.xUnit",
"precedence": "100",
"identity": "Microsoft.Test.xUnit.CSharp",
"shortName": "xunit",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.1"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.csproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UnitTest1.cs"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,18 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
</Project>

View File

@ -1,14 +0,0 @@
using System;
using Xunit;
namespace Company.TestProject1
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp1.1"
]
}

View File

@ -1,88 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "xUnit"],
"name": "xUnit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains xUnit.net tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.xUnit",
"precedence": "100",
"identity": "Microsoft.Test.xUnit.FSharp",
"shortName": "xunit",
"tags": {
"language": "F#",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.1"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.fsproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "Tests.fs"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(Framework)' != 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.0</TargetFramework>
<TargetFramework Condition="'$(Framework)' == 'netcoreapp1.1' AND '$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<Compile Include="Tests.fs" />
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
</Project>

View File

@ -1 +0,0 @@
module Program = let [<EntryPoint>] main _ = 0

View File

@ -1,8 +0,0 @@
module Tests
open System
open Xunit
[<Fact>]
let ``My test`` () =
Assert.True(true)

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
"--framework netcoreapp1.1"
]
}

View File

@ -1,89 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "xUnit"],
"name": "xUnit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains xUnit.net tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.xUnit",
"precedence": "100",
"identity": "Microsoft.Test.xUnit.VisualBasic",
"shortName": "xunit",
"tags": {
"language": "VB",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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",
"replaces": "netcoreapp1.1",
"choices": [
{
"choice": "netcoreapp1.0",
"description": "Target netcoreapp1.0"
},
{
"choice": "netcoreapp1.1",
"description": "Target netcoreapp1.1"
}
],
"defaultValue": "netcoreapp1.1"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.vbproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UnitTest1.vb"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,17 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp1.1</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
</ItemGroup>
</Project>

View File

@ -1,12 +0,0 @@
Imports System
Imports Xunit
Namespace Company.TestProject1
Public Class UnitTest1
<Fact>
Sub TestSub()
End Sub
End Class
End Namespace

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Microsoft.DotNet.Test.ProjectTemplates.2.0</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>.NET Template Pack Test projects for Microsoft Template Engine</description>
<language>en-US</language>
<projectUrl>https://github.com/dotnet/templating</projectUrl>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm</licenseUrl>
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
<files>
<file src="content/**" target="" />
</files>
</package>

View File

@ -1,20 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<NuspecFile>$(MSBuildThisFileDirectory)\Templates.nuspec</NuspecFile>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<OutputPath>$(TemplatesFolder)</OutputPath>
<EnableDefaultItems>False</EnableDefaultItems>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\scratch</BaseIntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
<Compile Remove="$(GitInfoFile)" />
<Compile Remove="$(MSBuildThisFileDirectory)../../src/GitInfo.cs" />
</ItemGroup>
</Project>

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json.schemastore.org/dotnetcli.host",
"symbolInfo": {
"TargetFrameworkOverride": {
"isHidden": "true",
"longName": "target-framework-override",
"shortName": ""
},
"Framework": {
"longName": "framework"
},
"EnablePack": {
"shortName": "p",
"longName": "enable-pack"
},
"skipRestore": {
"longName": "no-restore",
"shortName": ""
}
},
"usageExamples": [
""
]
}

View File

@ -1,85 +0,0 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Microsoft",
"classifications": ["Test", "MSTest"],
"name": "Unit Test Project",
"generatorVersions": "[1.0.0.0-*)",
"description": "A project that contains unit tests that can run on .NET Core on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Test.MSTest",
"precedence": "2000",
"identity": "Microsoft.Test.MSTest.CSharp.2.0",
"shortName": "mstest",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "Company.TestProject1",
"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.0",
"description": "Target netcoreapp2.0"
}
],
"replaces": "netcoreapp2.0",
"defaultValue": "netcoreapp2.0"
},
"EnablePack": {
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Whether or not to enable packaging (via (\"dotnet pack\") for the project."
},
"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.TestProject1.csproj" },
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"path": "UnitTest1.cs"
}
],
"defaultName": "TestProject1",
"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
}
]
}

View File

@ -1,17 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<IsPackable Condition="'$(EnablePack)' == 'true'">true</IsPackable>
<IsPackable Condition="'$(EnablePack)' != 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
<PackageReference Include="MSTest.TestAdapter" Version="1.1.18" />
<PackageReference Include="MSTest.TestFramework" Version="1.1.18" />
</ItemGroup>
</Project>

View File

@ -1,13 +0,0 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Company.TestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
}
}
}

Some files were not shown because too many files have changed in this diff Show More