Add AdventOfCode2024 projects

This commit is contained in:
2024-12-01 07:36:28 +01:00
parent 0571e443b8
commit c2d956ac88
5 changed files with 67 additions and 0 deletions

View File

@@ -21,6 +21,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode2023.Tests", "A
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode.Common", "AdventOfCode.Common\AdventOfCode.Common.csproj", "{D6C2B27F-22C3-49E2-9591-225B7132452D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode2024", "AdventOfCode2024\AdventOfCode2024.csproj", "{3B0B663D-9F64-4DC7-A310-60C14BFB781A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode2024.Tests", "AdventOfCode2024.Tests\AdventOfCode2024.Tests.csproj", "{810BAAF0-4BE6-4D1D-9F06-F293BA72C600}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -63,6 +67,14 @@ Global
{D6C2B27F-22C3-49E2-9591-225B7132452D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6C2B27F-22C3-49E2-9591-225B7132452D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6C2B27F-22C3-49E2-9591-225B7132452D}.Release|Any CPU.Build.0 = Release|Any CPU
{3B0B663D-9F64-4DC7-A310-60C14BFB781A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3B0B663D-9F64-4DC7-A310-60C14BFB781A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B0B663D-9F64-4DC7-A310-60C14BFB781A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B0B663D-9F64-4DC7-A310-60C14BFB781A}.Release|Any CPU.Build.0 = Release|Any CPU
{810BAAF0-4BE6-4D1D-9F06-F293BA72C600}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{810BAAF0-4BE6-4D1D-9F06-F293BA72C600}.Debug|Any CPU.Build.0 = Debug|Any CPU
{810BAAF0-4BE6-4D1D-9F06-F293BA72C600}.Release|Any CPU.ActiveCfg = Release|Any CPU
{810BAAF0-4BE6-4D1D-9F06-F293BA72C600}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>AdventOfCode2023.Tests</RootNamespace>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0"/>
<PackageReference Include="xunit" Version="2.4.2"/>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdventOfCode2024\AdventOfCode2024.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1 @@
global using Xunit;

View File

@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>AdventOfCode2024</RootNamespace>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<None Update="inputs\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdventOfCode.Common\AdventOfCode.Common.csproj"/>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,3 @@
global using AdventOfCode.Common;
DayHelper.RunDay("AdventOfCode2023", args);