First i explain our current project structure, then problem statement
I have a plugin project for CRM, and that project is referencing another service project. In order to deploy the project i am using ILMerge , so when plugin project compiled , it will contain all Service Project contract and models also.I have created unit test project also on the same solution, i have written test methods for Service Project , (by referring to Service Project) .All Test methods are working fine
Now we have changed our strategy to do the unit testing on plugin project instead of Service Project. So i remove the reference of service and added the reference of Plugins,All the unit test are still pass on run time. because on run time assembly internally contains service class attributes and methods.
But on editing the unit test, we lost the intellisense help from Visual Studio because we are not directly referring Service Project, if i try to refer service & plugin both, then getting compile time error saying that these classes exists via plugins.
Here i want to use intellisense to make better code, and don't want double reference issue also.
Can some one help on this