[FEATURE] Fix RS0016 errors and enable correct PublicAPI file generation#557
Conversation
marcin-krystianc
left a comment
There was a problem hiding this comment.
In the https://github.com/G-Research/ParquetSharp, we have a common Public.API files and also a framework specific ones. It would be nice if we also have similar structure here, so we avoid most of the duplications.
|
I'm not sure I fully understand. Could you please explain a bit more? |
At the moment we have two framework specific API files ( |
|
I updated However, it now only populates the common PublicAPI files even when I switch between target frameworks. |
marcin-krystianc
left a comment
There was a problem hiding this comment.
Nice 👍
Thank you
Description
This PR resolves RS0016 errors by enabling clean Public API generation and separating API files per target framework.
I'm using ubuntu 22.04 and vs code, so I had to change the target framework in
Consul.csprojtonetstandard2.0and rundotnet format ./Consul/Consul.csproj --diagnostics RS0016then change it tonet461and rundotnet format ./Consul/Consul.csproj --diagnostics RS0016. That gave me a correct and clean build and correctly populatedPublicAPI.Shipped.txtandPublicAPI.Unshipped.txtfiles.Related Issues
#415
Additional Context
Checklist
Please make sure to check the following before submitting your pull request: