my advent of code solutions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

slnx format and move configs to top-level

+77 -107
-39
AdventOfCode.sln
··· 1 - Microsoft Visual Studio Solution File, Format Version 12.00 2 - # Visual Studio Version 17 3 - VisualStudioVersion = 17.8.34112.27 4 - MinimumVisualStudioVersion = 10.0.40219.1 5 - Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "Tests\Tests.csproj", "{8A2E8FC3-BC6B-4C7D-B7B2-C949DB484C88}" 6 - EndProject 7 - Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FD88DFA6-FE18-466D-B249-14FE2817D45A}" 8 - ProjectSection(SolutionItems) = preProject 9 - .drone.yml = .drone.yml 10 - .editorconfig = .editorconfig 11 - .gitignore = .gitignore 12 - DayXX.cs.txt = DayXX.cs.txt 13 - getday.sh = getday.sh 14 - global.json = global.json 15 - LICENSE = LICENSE 16 - README.md = README.md 17 - EndProjectSection 18 - EndProject 19 - Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Solutions", "Solutions\Solutions.csproj", "{5DA652CE-937B-4A33-B2EE-1A4C0E890313}" 20 - EndProject 21 - Global 22 - GlobalSection(SolutionConfigurationPlatforms) = preSolution 23 - Debug|Any CPU = Debug|Any CPU 24 - Release|Any CPU = Release|Any CPU 25 - EndGlobalSection 26 - GlobalSection(ProjectConfigurationPlatforms) = postSolution 27 - {8A2E8FC3-BC6B-4C7D-B7B2-C949DB484C88}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 28 - {8A2E8FC3-BC6B-4C7D-B7B2-C949DB484C88}.Debug|Any CPU.Build.0 = Debug|Any CPU 29 - {8A2E8FC3-BC6B-4C7D-B7B2-C949DB484C88}.Release|Any CPU.ActiveCfg = Release|Any CPU 30 - {8A2E8FC3-BC6B-4C7D-B7B2-C949DB484C88}.Release|Any CPU.Build.0 = Release|Any CPU 31 - {5DA652CE-937B-4A33-B2EE-1A4C0E890313}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 32 - {5DA652CE-937B-4A33-B2EE-1A4C0E890313}.Debug|Any CPU.Build.0 = Debug|Any CPU 33 - {5DA652CE-937B-4A33-B2EE-1A4C0E890313}.Release|Any CPU.ActiveCfg = Release|Any CPU 34 - {5DA652CE-937B-4A33-B2EE-1A4C0E890313}.Release|Any CPU.Build.0 = Release|Any CPU 35 - EndGlobalSection 36 - GlobalSection(SolutionProperties) = preSolution 37 - HideSolutionNode = FALSE 38 - EndGlobalSection 39 - EndGlobal
+15 -16
AdventOfCode.slnx
··· 1 1 <Solution> 2 - <Folder Name="/Solution Items/"> 3 - <File Path=".drone.yml" /> 4 - <File Path=".editorconfig" /> 5 - <File Path=".gitignore" /> 6 - <File Path="DayXX.cs.txt" /> 7 - <File Path="getday.sh" /> 8 - <File Path="global.json" /> 9 - <File Path="LICENSE" /> 10 - <File Path="README.md" /> 11 - </Folder> 12 - <Project Path="Solutions\Solutions.csproj" Type="C#" /> 13 - <Project Path="Tests\Tests.csproj" /> 14 - <Properties Name="Visual Studio"> 15 - <Property Name="OpenWith" Value="Visual Studio Version 17" /> 16 - </Properties> 17 - </Solution> 2 + <Folder Name="/SolutionItems/"> 3 + <File Path=".drone.yml"/> 4 + <File Path=".editorconfig"/> 5 + <File Path=".gitignore"/> 6 + <File Path="DayXX.cs.txt"/> 7 + <File Path="Directory.Build.props"/> 8 + <File Path="Directory.Packages.props"/> 9 + <File Path="getday.sh"/> 10 + <File Path="global.json"/> 11 + <File Path="LICENSE"/> 12 + <File Path="README.md"/> 13 + </Folder> 14 + <Project Path="Solutions\Solutions.csproj"/> 15 + <Project Path="Tests\Tests.csproj"/> 16 + </Solution>
+12
Directory.Build.props
··· 1 + <Project> 2 + <PropertyGroup> 3 + <TargetFramework>net9.0</TargetFramework> 4 + <Nullable>enable</Nullable> 5 + </PropertyGroup> 6 + <ItemGroup> 7 + <Using Include="System"/> 8 + <Using Include="System.Diagnostics"/> 9 + <Using Include="System.IO"/> 10 + <Using Include="System.Linq"/> 11 + </ItemGroup> 12 + </Project>
+10
Directory.Packages.props
··· 1 + <Project> 2 + <PropertyGroup> 3 + <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> 4 + </PropertyGroup> 5 + <ItemGroup> 6 + <PackageVersion Include="CommandLineParser" Version="2.9.1"/> 7 + <PackageVersion Include="morelinq" Version="4.4.0"/> 8 + <PackageVersion Include="Newtonsoft.Json" Version="13.0.3"/> 9 + </ItemGroup> 10 + </Project>
+20 -26
Solutions/Solutions.csproj
··· 1 1 <Project Sdk="Microsoft.NET.Sdk"> 2 - 3 - <PropertyGroup> 4 - <OutputType>Exe</OutputType> 5 - <TargetFramework>net9.0</TargetFramework> 6 - <ImplicitUsings>enable</ImplicitUsings> 7 - <Nullable>enable</Nullable> 8 - </PropertyGroup> 2 + <PropertyGroup> 3 + <OutputType>Exe</OutputType> 4 + </PropertyGroup> 9 5 10 - <ItemGroup> 11 - <None Update="input\*\*.in"> 12 - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 13 - </None> 14 - </ItemGroup> 15 - 16 - <ItemGroup> 17 - <Using Include="System.Collections.Generic" /> 18 - <Using Include="System.Collections.Immutable" /> 19 - <Using Include="System.Diagnostics" /> 20 - <Using Include="System.Reflection" /> 21 - <Using Include="System.Text" /> 22 - <Using Include="System.Text.RegularExpressions" /> 23 - </ItemGroup> 6 + <ItemGroup> 7 + <None Update="input\*\*.in"> 8 + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 9 + </None> 10 + </ItemGroup> 24 11 25 - <ItemGroup> 26 - <PackageReference Include="CommandLineParser" Version="2.9.1" /> 27 - <PackageReference Include="morelinq" Version="4.3.0" /> 28 - <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> 29 - </ItemGroup> 12 + <ItemGroup> 13 + <Using Include="System.Collections.Generic"/> 14 + <Using Include="System.Collections.Immutable"/> 15 + <Using Include="System.Reflection"/> 16 + <Using Include="System.Text"/> 17 + <Using Include="System.Text.RegularExpressions"/> 18 + </ItemGroup> 30 19 20 + <ItemGroup> 21 + <PackageReference Include="CommandLineParser"/> 22 + <PackageReference Include="morelinq"/> 23 + <PackageReference Include="Newtonsoft.Json"/> 24 + </ItemGroup> 31 25 </Project>
+10 -10
Tests/Test2015.cs
··· 6 6 public class Test2015 7 7 { 8 8 [DataTestMethod] 9 - [DataRow(typeof(Day01), "232", "1783")] 10 - [DataRow(typeof(Day02), "1586300", "3737498")] 11 - [DataRow(typeof(Day03), "2081", "2341")] 12 - [DataRow(typeof(Day04), "346386", "9958218")] 13 - [DataRow(typeof(Day05), "258", "53")] 9 + [DataRow(typeof(Day01NotQuiteLisp), "232", "1783")] 10 + [DataRow(typeof(Day02IWasToldThereWouldBeNoMath), "1586300", "3737498")] 11 + [DataRow(typeof(Day03PerfectlySphericalHousesInAVacuum), "2081", "2341")] 12 + [DataRow(typeof(Day04TheIdealStockingStuffer), "346386", "9958218")] 13 + [DataRow(typeof(Day05DoesntHeHaveInternElvesForThis), "258", "53")] 14 14 // [DataRow(typeof(Day06), "543903", "14687245")] // TODO: optimize 15 15 [DataRow(typeof(Day07), "3176", "14710")] 16 16 [DataRow(typeof(Day08), "1342", "2074")] ··· 35 35 Common.CheckDay(dayType, part1, part2); 36 36 37 37 [DataTestMethod] 38 - [DataRow(typeof(Day01), "-1", "5")] 39 - [DataRow(typeof(Day02), "58", "34")] 40 - [DataRow(typeof(Day03), "2", "11")] 38 + [DataRow(typeof(Day01NotQuiteLisp), "-1", "5")] 39 + [DataRow(typeof(Day02IWasToldThereWouldBeNoMath), "58", "34")] 40 + [DataRow(typeof(Day03PerfectlySphericalHousesInAVacuum), "2", "11")] 41 41 // [DataRow(typeof(Day04), "609043", "6742839")] 42 - [DataRow(typeof(Day05), "1", "1")] 43 - [DataRow(typeof(Day06), "1000000", "1000000")] 42 + [DataRow(typeof(Day05DoesntHeHaveInternElvesForThis), "1", "1")] 43 + [DataRow(typeof(Day06ProbablyAFireHazard), "1000000", "1000000")] 44 44 // [DataRow(typeof(Day07), "", "")] // test input doesn't have "a" wire 45 45 [DataRow(typeof(Day08), "12", "19")] 46 46 [DataRow(typeof(Day09), "605", "982")]
+10 -16
Tests/Tests.csproj
··· 1 - <Project Sdk="MSTest.Sdk"> 2 - 3 - <PropertyGroup> 4 - <TargetFramework>net9.0</TargetFramework> 5 - <ImplicitUsings>enable</ImplicitUsings> 6 - <Nullable>enable</Nullable> 7 - <IsPackable>false</IsPackable> 8 - </PropertyGroup> 9 - 10 - <ItemGroup> 11 - <Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" /> 12 - <Using Include="System.Diagnostics" /> 13 - </ItemGroup> 1 + <Project Sdk="MSTest.Sdk/3.8.3"> 2 + <PropertyGroup> 3 + <IsPackable>false</IsPackable> 4 + </PropertyGroup> 14 5 15 - <ItemGroup> 16 - <ProjectReference Include="..\Solutions\Solutions.csproj" /> 17 - </ItemGroup> 6 + <ItemGroup> 7 + <Using Include="Microsoft.VisualStudio.TestTools.UnitTesting"/> 8 + </ItemGroup> 18 9 10 + <ItemGroup> 11 + <ProjectReference Include="..\Solutions\Solutions.csproj"/> 12 + </ItemGroup> 19 13 </Project>