-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is the project depending on a version of RestSharp.dll without a publicKeyToken? #28
Comments
Is there any chance you could provide a small example command line project that exhibits the issue? This would be a huge help debugging. |
Hi Jason, here is a repro CLI project as requested. You just need to clone it and hit F5 to trigger the issue. |
Hey, is this project still actively maintained? Should it be archived if not? |
Sorry for the delay, and thanks for the example! When I view that lib, under I'm not super familiar with csharp, but is there a way for us to add the I think another approach would be for us to switch from the openapi-generator for csharp to csharp-netcore. It seems csharp-netcore removes v4.5 from the |
No worries. To fix the issue I raised, it should only be be a matter of updating the dependency to a more recent version of Re your suggestion to use openapi, yes, it would be much better in my opinion. Is there a URL where a oas3.json document exists for doc raptor api? If such a file exists, it should just be a matter of adding a service reference to the file as documented here. |
Intesresting, I just spotted this paragraph in the repo's README.md
Sounds like this issue was know by someone in the team... can you please update your Restsharp dependency!? Then is issue could be closed. |
When docraptor is the only dependency in a project that uses RestSharp every works fine.
However if you happen have another dependency that also depends on RestSharp or if you wan to depend on a different version of Resharp a file load exception is thrown:
From looking at DocRaptor.dll in dot peek I can see that the .DLL has a reference to
RestSharp, Version=105.2.3, Culture=neutral, PublicKeyToken=null
.The problem is the
PublicKeyToken=null
part.It should be
PublicKeyToken=598062e77f915f75
.The text was updated successfully, but these errors were encountered: