10.0.0 changes make it impossible to call GeneratePublicApi with just an assembly argument
See original GitHub issueApiGenerator.GeneratePublicApi(typeof(Foo).Assembly));
The call is ambiguous between the following methods or properties: ‘ApiGenerator.GeneratePublicApi(Assembly, ApiGeneratorOptions?)’ and ‘ApiGenerator.GeneratePublicApi(Assembly, Type[]?, bool, string[]?, string[]?)’
This worked in 9.x.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
PublicApiGenerator.Tool 11.0.0
This tool generates your public API to a file. You can use this in approval style tests or for documentation.
Read more >C# 8 nullable reference type support · Issue #54
The problem is that the current code turns everything into a CodeDom and then writes that into a string writer. So in order...
Read more >Could not load file or assembly 'Newtonsoft.Json, Version= ...
I solved this problem by adding Newtonsoft.Json to the NuGet of the startup project (even though it is not directly used in the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this as the PR was also closed
Sure, here you go: https://github.com/ApiApprover/ApiApprover/pull/141