-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
S.R.InteropServices.JavaScript is part of the shared framework but doesn't have a ref assembly #39042
Comments
Tagging subscribers to this area: @safern, @ViktorHofer |
This is internal library, for internal consumption only for now. See #35573 (comment) |
So then we should close the issue as by design? |
Do we want to change the name to |
Is it worth it? We'll probably make the library public in the future (e.g. .NET7). |
I would think so. That's two releases away, including an LTS. |
Do we think its worth the risk to change the name at this point in the release? What could break if we change this name? cc @steveisok @akoeplinger |
Nothing external should break at this point, the name is already different than the 3.2 counterpart. The name is referenced in a couple of places by the js internally, and at least one test helper. |
I think this is pretty low risk and we should be able to change it. |
I think I already did add the reference assembly as part of c652058. |
Thanks Alex. You missed removing the P2P in the test project (as it wasn't part of the targeting pack before): Lines 21 to 22 in c91269c
|
Submitted #40337 to clean this up. Meanwhile, this issue can be closed. Thanks all. |
@ViktorHofer I still think we need to change the name since it's internal. |
I wasn't aware of this issue and that this is an internal library for 5.0 so I think we'll need to remove the reference assembly again. |
We don't need to remove the ref assembly, we can make the ref to not be shipped if we want to: https://github.com/dotnet/runtime/blob/master/src/libraries/NetCoreAppLibrary.props#L149 |
@safern Why would we keep the ref if we aren't shipping it as part of the targeting pack? |
I don't know, because we plan on making it public further down the road and to simplify the change; I guess "if we want to" wasn't clear enough to express that 😄. I guess I was just trying to express that we have libraries where the ref is OOB and the implementation Inbox. In this case the ref is not even OOB, so if we don't need the ref for anything, removing it sounds reasonable. |
@steveisok @akoeplinger can you please make a decision on what we should do here for 5.0? In master right now we expose a ref assembly which means the assembly isn't private atm. Should we remove the ref assembly and rename library or keep the ref and hence expose the lib? |
I thought I said changing it would be low risk and something we should be able to do. To be clear, if it's internal in 5.0, we should treat it as such and rename / remove the ref. |
…vate.Runtime.InteropServices.JavaScript Fixes dotnet#39042
…vate.Runtime.InteropServices.JavaScript (dotnet#40478) Fixes dotnet#39042
System.Runtime.InteropServices.JavaScript is currently declared as part of the shared framework but doesn't have a reference assembly. As the project isn't OOB either, there is currently no way for a customer to reference the library besides directly referencing the implementation one from the shared framework directory.
Is the omission of a reference assembly intentional?
cc @kjpou1 @marek-safar @ericstj
The text was updated successfully, but these errors were encountered: