-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Patch up project output paths from ref assemblies when inserting P2P references #20412
Comments
Mondo escrow triage: keeping in 15.3 because related to new feature. However, we don't want this area to go late into Escrow. |
@jasonmalinowski Is there a chance this will still make it for 15.3? Thanks |
Can we help? |
@Pilchie Could you also point out a test in the right area? |
Try looking in |
Jason said this was handed off to Sam. Thanks |
This was fixed by #20833. |
P2P references are broken when ref assemblies are turned on (with
<CompileUsingReferenceAssemblies>true</CompileUsingReferenceAssemblies>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
).Rolsyn tracks paths to identify project outputs, but in some cases it receives the implementation assembly path (
bin/a.dll
) from the project system, and the ref assembly path (bin/ref/a.dll
by default) in other cases.The proposal (option (4) discussed in dotnet/project-system#2478) is for Roslyn to recognize this pattern and strip the "ref/" when establishing P2P references.
@jasonmalinowski Feel free to write more details from the discussion today, as you understand it best.
The goal for this short-term workaround is to enable dogfooding of ref assemblies in 15.3. We will document the scenarios that are known to still be broken (LSL, LUT, etc) and continue the discussion to fix them with a proper design in 15.5.
FYI @srivatsn @Pilchie @jaredpar @davkean
The text was updated successfully, but these errors were encountered: