Initial commit
This commit is contained in:
22
Program.cs
Normal file
22
Program.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using OllamaSharp;
|
||||
using System.Linq;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
|
||||
|
||||
namespace SaltMiner
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var configurationBuilder = new ConfigurationBuilder();
|
||||
|
||||
configurationBuilder.SetBasePath(System.IO.Directory.GetCurrentDirectory());
|
||||
configurationBuilder.AddJsonFile(path: "appSettings.json", optional: false, reloadOnChange: true);
|
||||
|
||||
var config = configurationBuilder.Build();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
16
SaltMiner.csproj
Normal file
16
SaltMiner.csproj
Normal file
@@ -0,0 +1,16 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.1" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.1" />
|
||||
<PackageReference Include="OllamaSharp" Version="5.4.12" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
24
SaltMiner.sln
Normal file
24
SaltMiner.sln
Normal file
@@ -0,0 +1,24 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.2.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SaltMiner", "SaltMiner.csproj", "{FB07401B-D0CD-D268-18E6-D7BB31DB7384}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{FB07401B-D0CD-D268-18E6-D7BB31DB7384}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FB07401B-D0CD-D268-18E6-D7BB31DB7384}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FB07401B-D0CD-D268-18E6-D7BB31DB7384}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FB07401B-D0CD-D268-18E6-D7BB31DB7384}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {1321484E-E85B-4130-8836-8668FAD7F976}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
Reference in New Issue
Block a user