-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[FEATURE REQ] Remove unnecessary package references for net 6+ TFM #41628
Comments
//cc: @annelo-msft, @pallavit, @JoshLove-msft, @m-nash, @heaths, @christothes |
Hi @thompson-tomo. Thank you for opening this issue. We've been having a variation of this discussion for quite some time, but with a focus on adding additional TFMs to all packages. Thus far, we've not been able to reach consensus on that - but as this request is more narrowly scoped, I believe it's a good point for additional consideration. ProposalThis is something that I believe would be beneficial to all Azure SDK packages, and something that we could address by updating the common build targets to remove references for packages known to be unnecessary at build time for those platforms. This would allow us to avoid the burden of downloading unnecessary polyfill packages for the majority of supported platforms. I'd appreciate thoughts from the folks mentioned above as well as the architects. As this is a recurring request and has been in discussion for a very long time, it is something that we need to have a final decision on. Questions and challenges
References and related
|
Hi @jsquire Thank you for your response. I agree that this is something which would benefit the entire sdk but was being mindful of the amount of work it would take. Also I hadn't seen the PR (#28911) which you have referenced. My thoughts on this topic would be to review the PR as it is with the goal of accepting it based on it providing an improvement/enhancement to the current situation. A seperate issue can be created to move to centrally managing packages but low priority based on benefit gained at this point in time. Regarding adding additional TFM, I am of the belief the main reason to add a TFM is that you need to do something conditionally based on the TFM ie add/remove packages or framework specific code. |
Where it gets interesting is: should we still retain |
Resolved by #46637 |
Hi @thompson-tomo. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Hi @thompson-tomo, since you haven’t asked that we |
Library name
Azure.Core
Please describe the feature.
I want package references to be framework specific so that i am not adding in un-necessary packages when functionality can be and should be provided by the framework reference. An example of such is System.Text.Json which is included in net 6
The text was updated successfully, but these errors were encountered: