Open eddynaka opened 2 years ago
The API surface of the new library is not entirely identical to the older version. You therefore need to (re)build your project against the new library. (FYI: This commit https://github.com/commandlineparser/commandline/commit/e826508c52814f6f65e0453d75ca4b4072f76b84 changed the signature of the only VerbAttribute constructor from a single string argument to two constructor arguments; and this commit https://github.com/commandlineparser/commandline/commit/fe15c5de0814f293f6b4f8dd3ed90a91b8717786 changed the constructor signature once more...)
Well...I built the entire solution and it was built successfully.
Hmm, could you perhaps provide a minimal and complete repro? The code snippet you have shown contains some unknowns, like how TestOptions and AnalyzeOptionsBase are being declared...
I experienced this issue... but I had neglected to update all the project references in the solution to 2.9.1
The test project was still referencing 2.8 - and this error was thrown... whoops!
I was using version 2.7.82 and wanted to update it to 2.9.1 and started to see the following stack:
All my options have verbs like this:
And I invoke my options like this: