add package reference
All checks were successful
Rename the project from template / rename-project (push) Successful in 13s
SonarQube Scan / SonarQube Trigger (push) Successful in 1m12s
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 1m16s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 1m27s

This commit is contained in:
Simon Diesenreiter 2024-11-28 11:14:13 +01:00
parent b8570970f5
commit 44fbb768b8
4 changed files with 15 additions and 1 deletions

View File

@ -10,6 +10,7 @@
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="DotnetTestLib" Version="*" />
</ItemGroup>
</Project>

View File

@ -1,4 +1,5 @@
using CommandLine;
using DotnetTestLib;
class Program
{
@ -30,6 +31,7 @@ class Program
static void EntryPoint(Options o)
{
Console.WriteLine("Hello world!");
var hwp = new HelloWorldProvider();
Console.WriteLine(hwp.GetHelloWorld();
}
}

0
DotnetTestExe/dotnet Normal file
View File

11
nuget.config Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
<add key="gitea-projects" value="https://git.disi.dev/api/packages/Projects/nuget/index.json" />
<add key="gitea-homelab" value="https://git.disi.dev/api/packages/Homelab/nuget/index.json" />
<add key="gitea-artifacts" value="https://git.disi.dev/api/packages/Artifacts/nuget/index.json" />
</packageSources>
</configuration>