I have two assemblies:
- Main plugin assembly - Plugin used for my project
- Framework assembly - I want to merge this assembly with the main plugin so I can reuse some common methods used a lot in different projects.
I installed ILMerge on the main plugin assembly and referenced the built out framework dlls while simultaneously setting project build order on the solution.
Now, this looks okay before I deploy. The main problem comes when I try to debug using my unit tests project.
In my unit tests project, I have a reference to the main plugin assembly which allows me to use fakexrmeasy to run my unit tests. However, now that the assemblies have been merged I expect that I should be able to use the framework methods within my unit tests project. I cant seem to access those methods when referencing the main plugin assemblies in the test classes.
All of the projects mentioned above exist within the same solution.
Im fairly new to ILMerge so might be doing something wrong thats glaringly obvious. I just compile using the built in visual studio compiler.
Can anyone suggest what could be going wrong?