The problem is related to Caught Exception
. There are 2 things happening at the same time. First, you have checked this property in
Visual Studio Exceptions (Debug -> Exceptions -> Common Language Runtime Exception "Checked").
This option in VS stops code execution, even though they are properly handled. Second, the file Oauth2Client.pdb is present along with the dll that is failing.
We just refactored the code so if you get the latest version of the VersionOne.SDK.NET.APIClient
you won't see the Caught Exception
any more.
So the solution to this could be one of the following:
- (preferred) Use the latest version of the VersionOne.SDK.NET.APIClient
- Remove the pdb file.
- Configure exceptions not to stop code execution (keep both unchecked).