I have a GroupDocs.Total license. I am using GroupDocs in my web application and plan to use multiple pieces of the GroupDocs family. I have already implemented the GroupDocs.Viewer in my application and it is working well. I am now trying to implement the GroupDocs.Assembly portion to render documents from templates and I am having issues. When I was trying to get the Assembly to work I kept getting the error “{“The type initializer for '\u0003 ’ threw an exception.”}” and the inner exception is "The type initializer for ‘\u0002’ threw an exception and a message on the inner exception is “object reference not set to an instance of an object”. After battling this for a few days I discovered that If I remove the project that contains GroupDocs.Viewer the Assembly works fine and without error. I even created a new project that is very basic and added the GroupDocs.Assembly and it works perfectly fine. As soon as I add GroupDocs.Viewer (I am using nuget to bring in the reference), the application stops working even though I am not even using the GroupDocs,Viewer. Just the mere fact that I have both in one project is causing the issue. As soon as I remove the reference to the GroupDocs.Viewer then the Assembly starts working again.
How can I use multiple GroupDocs products within the same application?