Skip to content

iphousehq/docraptor-example

Repository files navigation

Description

This is a simple CLI app used to reproduced the issue 28.

Why is docraptor compliled with a reference to restsharp that doesn't specifiy a publicKeyToken?

Public Key Token is not set when insecting the docraptor.dll

This means if your code has two dependencies on different nuget packages that require a different version of docraptor, the code will fail.

Steps to reproduce

  1. Open the solution with visual studio (tested in VS2022)
  2. Hit F5 to start debugging
  3. A TypeInitializationException is thrown.

Type Initialization Exception