Skip to content

Commit 6413db9

Browse files
authored
Merge pull request #2 from gitFerdo/dev
set up Program.cs
2 parents 2641e75 + 90eb88c commit 6413db9

19 files changed

+145
-4
lines changed

.vscode/launch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
// Use IntelliSense to find out which attributes exist for C# debugging
6+
// Use hover for the description of the existing attributes
7+
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
8+
"name": ".NET Core Launch (console)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
// If you have changed target frameworks, make sure to update the program path.
13+
"program": "${workspaceFolder}/Giraffe/bin/Debug/net8.0/Giraffe.dll",
14+
"args": [],
15+
"cwd": "${workspaceFolder}/Giraffe",
16+
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17+
"console": "internalConsole",
18+
"stopAtEntry": false
19+
},
20+
{
21+
"name": ".NET Core Attach",
22+
"type": "coreclr",
23+
"request": "attach"
24+
}
25+
]
26+
}

.vscode/tasks.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/Giraffe.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
13+
],
14+
"problemMatcher": "$msCompile"
15+
},
16+
{
17+
"label": "publish",
18+
"command": "dotnet",
19+
"type": "process",
20+
"args": [
21+
"publish",
22+
"${workspaceFolder}/Giraffe.sln",
23+
"/property:GenerateFullPaths=true",
24+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
25+
],
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"label": "watch",
30+
"command": "dotnet",
31+
"type": "process",
32+
"args": [
33+
"watch",
34+
"run",
35+
"--project",
36+
"${workspaceFolder}/Giraffe.sln"
37+
],
38+
"problemMatcher": "$msCompile"
39+
}
40+
]
41+
}

Giraffe/Program.cs

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
1-
// See https://aka.ms/new-console-template for more information
2-
Console.WriteLine("Hello, World!");
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace Giraffe
8+
{
9+
class Program
10+
{
11+
static void Main(string[] args)
12+
{
13+
Console.WriteLine(" /|");
14+
Console.WriteLine(" / |");
15+
Console.WriteLine(" / |");
16+
Console.WriteLine(" / |");
17+
Console.WriteLine(" / |");
18+
Console.WriteLine("/_____|");
19+
20+
Console.ReadLine();
21+
}
22+
}
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"runtimeTarget": {
3+
"name": ".NETCoreApp,Version=v8.0",
4+
"signature": ""
5+
},
6+
"compilationOptions": {},
7+
"targets": {
8+
".NETCoreApp,Version=v8.0": {
9+
"Giraffe/1.0.0": {
10+
"runtime": {
11+
"Giraffe.dll": {}
12+
}
13+
}
14+
}
15+
},
16+
"libraries": {
17+
"Giraffe/1.0.0": {
18+
"type": "project",
19+
"serviceable": false,
20+
"sha512": ""
21+
}
22+
}
23+
}

Giraffe/bin/Debug/net8.0/Giraffe.dll

4.5 KB
Binary file not shown.

Giraffe/bin/Debug/net8.0/Giraffe.exe

140 KB
Binary file not shown.

Giraffe/bin/Debug/net8.0/Giraffe.pdb

10.5 KB
Binary file not shown.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"runtimeOptions": {
3+
"tfm": "net8.0",
4+
"framework": {
5+
"name": "Microsoft.NETCore.App",
6+
"version": "8.0.0"
7+
},
8+
"configProperties": {
9+
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
10+
}
11+
}
12+
}

Giraffe/obj/Debug/net8.0/Giraffe.AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[assembly: System.Reflection.AssemblyCompanyAttribute("Giraffe")]
1414
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
1515
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+131099ba0c6713892bff3fd676c6a87788f1ce72")]
1717
[assembly: System.Reflection.AssemblyProductAttribute("Giraffe")]
1818
[assembly: System.Reflection.AssemblyTitleAttribute("Giraffe")]
1919
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f6ecdf2ed3c2409dcba3aaeb6804f84edb0e6c805d27f681ae3ccddbed876375
1+
e23615b40aae88aef98fbcc05049fa45461889913b63f5ee5ffe55f49cf7b992

0 commit comments

Comments
 (0)