Programming (for now) is just a hobby for me, so I'm trying to find ways to improve, learn some basic algorithms and programming skills that may come in handy in the future. I am currently working, although Project Euler solves puzzles there.
I work in C # and set up a solution called ProjecEuler in which I add one new console application project for each problem. (I know, maybe not the last setting, taking into account memory efficiency, etc., but it’s easy to do and easy to work, and I do it only for myself ...)
However, as the problems became more complicated, I used the same code again and again, so I added the ClassLibrary project, in which I put useful code that might be needed in several projects. But every time I add a new project to the solution, I need to manually add a link to the class library. As I add a few projects in a working hour, it becomes quite tedious.
Is there a way to tell Visual Studio that I want all projects in the solution to inherit the class library and VS automatically add links automatically?
source
share