문제

I have several programs which have nothing in common with each other, they are completely different applications. However, I have several "Swiss knife" classes, which I use in all of those projects. Currently, when I need to use those classes, I simply copy them over into the project, but this solution is less than ideal since it's all bloaty and not tidy at all. And of course, when I want to edit those classes, I have to do it several times in a row, in each of my applications.

What is the best solution here? Should I export those classes into a .dll, give it to Windows and then all my apps can use that .dll? Or should I use some other solution available in the Visual Studio itself?

도움이 되었습니까?

해결책

I think the dll solution is appropriate to use.
Just place those common class in different project and build a dll around and use it, or in case of Visual Studio you can import the same project in different solutions or programs..

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top