Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions simpleCmd/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/src/simpleCmd/bin/Debug/netcoreapp1.1/simpleCmd.dll",
"args": [],
"cwd": "${workspaceRoot}",
"stopAtEntry": false,
"externalConsole": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command.pickProcess}"
}
]
}
17 changes: 17 additions & 0 deletions simpleCmd/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [ "src/simpleCmd" ],
"isBuildCommand": true,
"showOutput": "silent",
"problemMatcher": "$msCompile"
}
]
}
6 changes: 6 additions & 0 deletions simpleCmd/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-preview2-003131"
}
}
20 changes: 15 additions & 5 deletions simpleCmd/simpleCmd.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,30 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "simpleCmd", "simpleCmd\simpleCmd.csproj", "{13D522BE-3A5D-4BA3-B5D0-CB42CA3F7D95}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F345B2A6-5DC2-4C6B-8B36-E669795C7F5C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1FAEEA9D-262F-4348-A162-E3AFAFEB5DD9}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "simpleCmd", "src\simpleCmd\simpleCmd.xproj", "{D19A4C0F-87AE-4652-9968-9D22A25F5200}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{13D522BE-3A5D-4BA3-B5D0-CB42CA3F7D95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{13D522BE-3A5D-4BA3-B5D0-CB42CA3F7D95}.Debug|Any CPU.Build.0 = Debug|Any CPU
{13D522BE-3A5D-4BA3-B5D0-CB42CA3F7D95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{13D522BE-3A5D-4BA3-B5D0-CB42CA3F7D95}.Release|Any CPU.Build.0 = Release|Any CPU
{D19A4C0F-87AE-4652-9968-9D22A25F5200}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D19A4C0F-87AE-4652-9968-9D22A25F5200}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D19A4C0F-87AE-4652-9968-9D22A25F5200}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D19A4C0F-87AE-4652-9968-9D22A25F5200}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{D19A4C0F-87AE-4652-9968-9D22A25F5200} = {F345B2A6-5DC2-4C6B-8B36-E669795C7F5C}
EndGlobalSection
EndGlobal
6 changes: 0 additions & 6 deletions simpleCmd/simpleCmd/App.config

This file was deleted.

12 changes: 0 additions & 12 deletions simpleCmd/simpleCmd/Program.cs

This file was deleted.

36 changes: 0 additions & 36 deletions simpleCmd/simpleCmd/Properties/AssemblyInfo.cs

This file was deleted.

60 changes: 0 additions & 60 deletions simpleCmd/simpleCmd/simpleCmd.csproj

This file was deleted.

15 changes: 15 additions & 0 deletions simpleCmd/src/simpleCmd/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace simpleCmd
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("hello world");
}
}
}
19 changes: 19 additions & 0 deletions simpleCmd/src/simpleCmd/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp1.1": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.1.0"
}
},
"imports": "dnxcore50"
}
}
}
21 changes: 21 additions & 0 deletions simpleCmd/src/simpleCmd/simpleCmd.xproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>

<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>d19a4c0f-87ae-4652-9968-9d22a25f5200</ProjectGuid>
<RootNamespace>simpleCmd</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
</PropertyGroup>

<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
5 changes: 5 additions & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
hello git

Hi Dad!

Online test