Add initial project structure with configuration and sample files

- Create .envrc for Direnv configuration
- Add .pre-commit-config.yaml for pre-commit hooks
- Include CONTRIBUTING.md with contribution guidelines
- Implement Makefile for build, run, and clean commands
- Set up Program.cs with a basic Hello World message
- Define SampleApp.csproj for .NET project configuration
- Add agents.md for coding agent instructions
- Create default.nix for Nix flake setup
- Initialize deps.nix for NuGet dependencies
- Configure Flatpak app with app.flatpak.json
- Implement install-templates.sh for installing .NET templates
- Define project.toml for project metadata
- Set up shell.nix for development shell environment
- Add SampleTest.cs for basic unit testing
This commit is contained in:
2026-09-27 10:12:18 -05:00
parent bf1ee307c4
commit 852ae835d1
25 changed files with 517 additions and 0 deletions
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("SampleApp")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+bf1ee307c4685b53b646d2fe5262a387f7f4436b")]
[assembly: System.Reflection.AssemblyProductAttribute("SampleApp")]
[assembly: System.Reflection.AssemblyTitleAttribute("SampleApp")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
@@ -0,0 +1 @@
edc3f47facf5fd644d86f80cd978eaba671a3b1162e7912252145921f18c4a43
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = SampleApp
build_property.ProjectDir = /home/gooba42/Documents/Projects/Coding/dotnet/flaky/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
+67
View File
@@ -0,0 +1,67 @@
{
"format": 1,
"restore": {
"/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj": {}
},
"projects": {
"/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj",
"projectName": "SampleApp",
"projectPath": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj",
"packagesPath": "/home/gooba42/.nuget/packages/",
"outputPath": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/gooba42/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {},
"https://git.moturpin.com/api/packages/<owner>/nuget/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": "/nix/store/z9k3zizjvnvc7la71zlm7amz7fyz5wi4-dotnet-sdk-8.0.424/share/dotnet/sdk/8.0.424/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}
+15
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)' == '' ">/home/gooba42/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/gooba42/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/gooba42/.nuget/packages/" />
</ItemGroup>
</Project>
+2
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" />
+72
View File
@@ -0,0 +1,72 @@
{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"/home/gooba42/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj",
"projectName": "SampleApp",
"projectPath": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj",
"packagesPath": "/home/gooba42/.nuget/packages/",
"outputPath": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/gooba42/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {},
"https://git.moturpin.com/api/packages/<owner>/nuget/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": "/nix/store/z9k3zizjvnvc7la71zlm7amz7fyz5wi4-dotnet-sdk-8.0.424/share/dotnet/sdk/8.0.424/PortableRuntimeIdentifierGraph.json"
}
}
}
}
+8
View File
@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "YHNJGPxTJZ8=",
"success": true,
"projectFilePath": "/home/gooba42/Documents/Projects/Coding/dotnet/flaky/SampleApp.csproj",
"expectedPackageFiles": [],
"logs": []
}