diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9619469..380500e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,11 +6,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Printing hello - run: gcc -Wall -Werror main.c - - name: Archive production atrifacts - uses: actions/upload-artifact@v3 + - uses: actions/setup-dotnet@v3 with: - name: program - path: program + dotnet-version: '6.0.x' + - run: dotnet restore + - run: dotnet build \ No newline at end of file diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..3751555 --- /dev/null +++ b/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/PwoLab7.csproj b/PwoLab7.csproj new file mode 100644 index 0000000..74abf5c --- /dev/null +++ b/PwoLab7.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/main.c b/main.c deleted file mode 100644 index 4217db4..0000000 --- a/main.c +++ /dev/null @@ -1,6 +0,0 @@ -#include -int main() -{ - printf("Halo, Welt!"); - return 0; -} \ No newline at end of file diff --git a/obj/PwoLab7.csproj.nuget.dgspec.json b/obj/PwoLab7.csproj.nuget.dgspec.json new file mode 100644 index 0000000..7cba089 --- /dev/null +++ b/obj/PwoLab7.csproj.nuget.dgspec.json @@ -0,0 +1,63 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj": {} + }, + "projects": { + "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj", + "projectName": "PwoLab7", + "projectPath": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj", + "packagesPath": "C:\\Users\\student.DESKTOP-N01B4AU\\.nuget\\packages\\", + "outputPath": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\student.DESKTOP-N01B4AU\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/obj/PwoLab7.csproj.nuget.g.props b/obj/PwoLab7.csproj.nuget.g.props new file mode 100644 index 0000000..eecf33c --- /dev/null +++ b/obj/PwoLab7.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\student.DESKTOP-N01B4AU\.nuget\packages\ + PackageReference + 6.7.0 + + + + + \ No newline at end of file diff --git a/obj/PwoLab7.csproj.nuget.g.targets b/obj/PwoLab7.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/obj/PwoLab7.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json new file mode 100644 index 0000000..79757c5 --- /dev/null +++ b/obj/project.assets.json @@ -0,0 +1,68 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\student.DESKTOP-N01B4AU\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj", + "projectName": "PwoLab7", + "projectPath": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj", + "packagesPath": "C:\\Users\\student.DESKTOP-N01B4AU\\.nuget\\packages\\", + "outputPath": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\student.DESKTOP-N01B4AU\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache new file mode 100644 index 0000000..53fef34 --- /dev/null +++ b/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "lH6nTde/q1eH9unM15iC4+GB93oa1IP+E0g++JUSFrMgH/j6A0O1nVR1Qj7JlmkLsaFUIXdUPmgM/XxlcbsNVQ==", + "success": true, + "projectFilePath": "C:\\Users\\student.DESKTOP-N01B4AU\\Desktop\\PwoLab7\\PwoLab7.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file