I downloaded GroupDocs.Viewer-for-.NET-master from the github website and ran the Demo inside GroupDocs.Viewer-for-.NET-master\Demos\ASP.NET MVC\src. When previewing dwg, execute the LoadDocumentDescription method
var documentDescription =
await _viewer.GetDocumentInfoAsync(fileCredentials);
After the above code, an exception is thrown: Something went wrong
Type initializer for ‘Aspose.CAD.Image’ threw an exception.
I chose the built-in house-plan.dwg file to preview. Please help to solve the problem. I was using a trial version of the license.
Please try checking out the latest version of this demo project from GitHub. In case you still experience the issue can you please share the exception message?