eduherminio / AoCHelper

Helper .NET library for solving Advent of Code puzzles

Home Page:https://adventofcode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solve problems from referenced assemblies

codemonkey85 opened this issue · comments

I was wondering if it might be possible to have either additional assemblies, or at least one alternative assembly for Solver to solve problems from. I have a project structure for showing solutions in both a console app and a web app, and I'd like to be able to reference a library containing the problems / solutions.

I created #181 to try and solve this myself.

Hey @codemonkey85, first of all thanks for considering using AoCHelper and raising this issue and the associated PR.

Just to make sure thatwe're in the same page, before discussing the potential solution: if I understand your use case correctly, you don't really have the need to load the problems from multiple assemblies for the same Solver, bur rather to load them from a different assembly other than the entry one, right?

I'm also thinking right now how the potential solution that is chosen for this issue can influence/facilitate #92 in the future.

if I understand your use case correctly, you don't really have the need to load the problems from multiple assemblies for the same Solver, bur rather to load them from a different assembly other than the entry one, right?

Yeah, that's the main goal. This way my library assembly can have the problems, and I can create different UIs or whatever around them.

Closed by #181.