Skip to content

Commit 9e5d7da

Browse files
committed
add c# resources.
1 parent 6563a55 commit 9e5d7da

28 files changed

+287
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0
2+
WORKDIR /app
3+
4+
COPY *.csproj ./
5+
RUN dotnet restore
6+
7+
COPY . ./
8+
9+
RUN dotnet publish -c Release -o out
10+
11+
ENTRYPOINT ["dotnet", "out/simple-csharp-app1.dll"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// See https://aka.ms/new-console-template for more information
2+
Console.WriteLine("Hello, World!");
Binary file not shown.
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+
"simple-csharp-app1/1.0.0": {
10+
"runtime": {
11+
"simple-csharp-app1.dll": {}
12+
}
13+
}
14+
}
15+
},
16+
"libraries": {
17+
"simple-csharp-app1/1.0.0": {
18+
"type": "project",
19+
"serviceable": false,
20+
"sha512": ""
21+
}
22+
}
23+
}
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// <autogenerated />
2+
using System;
3+
using System.Reflection;
4+
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
using System;
11+
using System.Reflection;
12+
13+
[assembly: System.Reflection.AssemblyCompanyAttribute("simple-csharp-app1")]
14+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6563a5519658a856202ee78087f2e75ea9ca21f5")]
17+
[assembly: System.Reflection.AssemblyProductAttribute("simple-csharp-app1")]
18+
[assembly: System.Reflection.AssemblyTitleAttribute("simple-csharp-app1")]
19+
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
20+
21+
// MSBuild WriteCodeFragment クラスによって生成されました。
22+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
368e69877de0a18aaa08c0ac907858a5ad80df465461680c3cda58357824d089
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
is_global = true
2+
build_property.TargetFramework = net8.0
3+
build_property.TargetPlatformMinVersion =
4+
build_property.UsingMicrosoftNETSdkWeb =
5+
build_property.ProjectTypeGuids =
6+
build_property.InvariantGlobalization =
7+
build_property.PlatformNeutralAssembly =
8+
build_property.EnforceExtendedAnalyzerRules =
9+
build_property._SupportedPlatformList = Linux,macOS,Windows
10+
build_property.RootNamespace = simple_csharp_app1
11+
build_property.ProjectDir = /Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/
12+
build_property.EnableComHosting =
13+
build_property.EnableGeneratedComInterfaceComImportInterop =
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// <auto-generated/>
2+
global using global::System;
3+
global using global::System.Collections.Generic;
4+
global using global::System.IO;
5+
global using global::System.Linq;
6+
global using global::System.Net.Http;
7+
global using global::System.Threading;
8+
global using global::System.Threading.Tasks;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d48bb76c7b53a1d9cc7b976593b466609cbc1f8666d87d125be7808ab76d129c
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.GeneratedMSBuildEditorConfig.editorconfig
2+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.AssemblyInfoInputs.cache
3+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.AssemblyInfo.cs
4+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.csproj.CoreCompileInputs.cache
5+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.sourcelink.json
6+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/bin/Debug/net8.0/simple-csharp-app1
7+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/bin/Debug/net8.0/simple-csharp-app1.deps.json
8+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/bin/Debug/net8.0/simple-csharp-app1.runtimeconfig.json
9+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/bin/Debug/net8.0/simple-csharp-app1.dll
10+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/bin/Debug/net8.0/simple-csharp-app1.pdb
11+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.dll
12+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/refint/simple-csharp-app1.dll
13+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.pdb
14+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/simple-csharp-app1.genruntimeconfig.cache
15+
/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/Debug/net8.0/ref/simple-csharp-app1.dll
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6eb408dd58ca42fe4d2b2c41d7f11e0f3ed8a053e12af968245c53c0b20e8911
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"documents":{"/Users/yoichiikegawa/Documents/Github/docker-k8s/*":"https://raw.githubusercontent.com/tanakaryo/docker-k8s/6563a5519658a856202ee78087f2e75ea9ca21f5/*"}}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"version": 3,
3+
"targets": {
4+
"net8.0": {}
5+
},
6+
"libraries": {},
7+
"projectFileDependencyGroups": {
8+
"net8.0": []
9+
},
10+
"packageFolders": {
11+
"/Users/yoichiikegawa/.nuget/packages/": {}
12+
},
13+
"project": {
14+
"version": "1.0.0",
15+
"restore": {
16+
"projectUniqueName": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj",
17+
"projectName": "simple-csharp-app1",
18+
"projectPath": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj",
19+
"packagesPath": "/Users/yoichiikegawa/.nuget/packages/",
20+
"outputPath": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/",
21+
"projectStyle": "PackageReference",
22+
"configFilePaths": [
23+
"/Users/yoichiikegawa/.nuget/NuGet/NuGet.Config"
24+
],
25+
"originalTargetFrameworks": [
26+
"net8.0"
27+
],
28+
"sources": {
29+
"https://api.nuget.org/v3/index.json": {}
30+
},
31+
"frameworks": {
32+
"net8.0": {
33+
"targetAlias": "net8.0",
34+
"projectReferences": {}
35+
}
36+
},
37+
"warningProperties": {
38+
"warnAsError": [
39+
"NU1605"
40+
]
41+
},
42+
"restoreAuditProperties": {
43+
"enableAudit": "true",
44+
"auditLevel": "low",
45+
"auditMode": "direct"
46+
}
47+
},
48+
"frameworks": {
49+
"net8.0": {
50+
"targetAlias": "net8.0",
51+
"imports": [
52+
"net461",
53+
"net462",
54+
"net47",
55+
"net471",
56+
"net472",
57+
"net48",
58+
"net481"
59+
],
60+
"assetTargetFallback": true,
61+
"warn": true,
62+
"frameworkReferences": {
63+
"Microsoft.NETCore.App": {
64+
"privateAssets": "all"
65+
}
66+
},
67+
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/8.0.203/PortableRuntimeIdentifierGraph.json"
68+
}
69+
}
70+
}
71+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"version": 2,
3+
"dgSpecHash": "Zx+5k7GSHewzPRqQIMQmQ2qFZXg4FGeypGDqoxPUOLtVkpbQepcFL5jSurO5R1wLQ2CpxPychDxvHKpKQsx0Zw==",
4+
"success": true,
5+
"projectFilePath": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj",
6+
"expectedPackageFiles": [],
7+
"logs": []
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"format": 1,
3+
"restore": {
4+
"/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj": {}
5+
},
6+
"projects": {
7+
"/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj": {
8+
"version": "1.0.0",
9+
"restore": {
10+
"projectUniqueName": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj",
11+
"projectName": "simple-csharp-app1",
12+
"projectPath": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/simple-csharp-app1.csproj",
13+
"packagesPath": "/Users/yoichiikegawa/.nuget/packages/",
14+
"outputPath": "/Users/yoichiikegawa/Documents/Github/docker-k8s/create-simple-container/simple-csharp-app1/obj/",
15+
"projectStyle": "PackageReference",
16+
"configFilePaths": [
17+
"/Users/yoichiikegawa/.nuget/NuGet/NuGet.Config"
18+
],
19+
"originalTargetFrameworks": [
20+
"net8.0"
21+
],
22+
"sources": {
23+
"https://api.nuget.org/v3/index.json": {}
24+
},
25+
"frameworks": {
26+
"net8.0": {
27+
"targetAlias": "net8.0",
28+
"projectReferences": {}
29+
}
30+
},
31+
"warningProperties": {
32+
"warnAsError": [
33+
"NU1605"
34+
]
35+
},
36+
"restoreAuditProperties": {
37+
"enableAudit": "true",
38+
"auditLevel": "low",
39+
"auditMode": "direct"
40+
}
41+
},
42+
"frameworks": {
43+
"net8.0": {
44+
"targetAlias": "net8.0",
45+
"imports": [
46+
"net461",
47+
"net462",
48+
"net47",
49+
"net471",
50+
"net472",
51+
"net48",
52+
"net481"
53+
],
54+
"assetTargetFallback": true,
55+
"warn": true,
56+
"frameworkReferences": {
57+
"Microsoft.NETCore.App": {
58+
"privateAssets": "all"
59+
}
60+
},
61+
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/8.0.203/PortableRuntimeIdentifierGraph.json"
62+
}
63+
}
64+
}
65+
}
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
4+
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
5+
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
6+
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
7+
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/yoichiikegawa/.nuget/packages/</NuGetPackageRoot>
8+
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/yoichiikegawa/.nuget/packages/</NuGetPackageFolders>
9+
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10+
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
11+
</PropertyGroup>
12+
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13+
<SourceRoot Include="/Users/yoichiikegawa/.nuget/packages/" />
14+
</ItemGroup>
15+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<RootNamespace>simple_csharp_app1</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
</Project>

0 commit comments

Comments
 (0)