Add: Projekt dotnet
Some checks failed
First CI / build (push) Failing after 9s

This commit is contained in:
Jakub 2024-11-26 13:49:55 +01:00
parent cb5f9aa539
commit 20a9503f1d
8 changed files with 174 additions and 5 deletions

10
Lab7.csproj Normal file
View File

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

2
Program.cs Normal file
View File

@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

5
main.c
View File

@ -1,5 +0,0 @@
int main()
{
printf("Halo, Welt!");
return 0;
}

View File

@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj": {}
},
"projects": {
"C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj",
"projectName": "Lab7",
"projectPath": "C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj",
"packagesPath": "C:\\Users\\PC\\.nuget\\packages\\",
"outputPath": "C:\\Users\\PC\\Desktop\\Lab7\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\PC\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.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\\8.0.201/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\PC\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\PC\.nuget\packages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

71
obj/project.assets.json Normal file
View File

@ -0,0 +1,71 @@
{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"C:\\Users\\PC\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj",
"projectName": "Lab7",
"projectPath": "C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj",
"packagesPath": "C:\\Users\\PC\\.nuget\\packages\\",
"outputPath": "C:\\Users\\PC\\Desktop\\Lab7\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\PC\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.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\\8.0.201/PortableRuntimeIdentifierGraph.json"
}
}
}
}

8
obj/project.nuget.cache Normal file
View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "Mz/WJUlAlYGczutwFeM7VQUMxDcRu0mO96OUr98md+b/cd/guhp8PsXDMCi3S1p6auOLv305pAM0RRhycdPdKg==",
"success": true,
"projectFilePath": "C:\\Users\\PC\\Desktop\\Lab7\\Lab7.csproj",
"expectedPackageFiles": [],
"logs": []
}