dll's across multiple solutions

Ask general questions here.
mattmccall
Posts: 29
Joined: Mon Nov 12, 2012 8:13 pm

dll's across multiple solutions

Post by mattmccall » Fri Nov 18, 2016 10:41 pm

I think I once knew this answer but I cannot find it anywhere.

If you have multiple solutions can you use dll's from one solution to another? I want to say no, but like I said I can't find it anywhere and something in my brain says no.

EX: Solution 1 has a dll, can I use that dll in Solution 2

asdf
Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: dll's across multiple solutions

Post by asdf » Mon Nov 21, 2016 1:40 pm

Hi Matt,

It is possible to reference one project to another one. Therefore, you will need to create a "ModuleLibrary".
ModuleLib.png
ModuleLib.png (7.55 KiB) Viewed 619 times
After you created your recording modules in this library, you will have to build the solution.
There will be a *.dll file created in the \bin\debug\ folder.
Now you have to reference this dll file to your other solution. Then you will be able to re-use all modules from the module library in the new solution.
TestLib.png
TestLib.png (5.73 KiB) Viewed 619 times
Please note that you are not able to adapt the recordings from the library in the TestSuite of the new solution. You can only reuse the modules with this approach.

I hope this helps.

Kind regards,
asdf

mattmccall
Posts: 29
Joined: Mon Nov 12, 2012 8:13 pm

Re: dll's across multiple solutions

Post by mattmccall » Mon Nov 21, 2016 8:53 pm

That does help, thanks!