Skip to content
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

Closed
jcouv opened this issue Jun 22, 2017 · 9 comments
Closed
Assignees
Labels
Area-IDE Bug Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented
Milestone

Comments

@jcouv
Copy link
Member

jcouv commented Jun 22, 2017

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

@MattGertz
Copy link
Contributor

Mondo escrow triage: keeping in 15.3 because related to new feature. However, we don't want this area to go late into Escrow.

@jcouv
Copy link
Member Author

jcouv commented Jul 7, 2017

@jasonmalinowski Is there a chance this will still make it for 15.3? Thanks

@jasonmalinowski
Copy link
Member

@jcouv That's where we still want it to be. How likely we are to succeed is unclear. @Pilchie was looking at rebalancing this.

@jaredpar
Copy link
Member

Can we help?

@Pilchie
Copy link
Member

Pilchie commented Jul 10, 2017

@jaredpar Sure - PRs welcome :) This code is likely where you'd want to start looking.

@jcouv
Copy link
Member Author

jcouv commented Jul 10, 2017

@Pilchie Could you also point out a test in the right area?

@Pilchie
Copy link
Member

Pilchie commented Jul 10, 2017

Try looking in Test\ProjectSystemShim under src\VisualStudio\[Core|CSharp|VisualBasic]

@jcouv
Copy link
Member Author

jcouv commented Jul 11, 2017

Jason said this was handed off to Sam. Thanks

@Pilchie
Copy link
Member

Pilchie commented Aug 22, 2017

This was fixed by #20833.

@Pilchie Pilchie closed this as completed Aug 22, 2017
@Pilchie Pilchie added the Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented label Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Resolution-Fixed The bug has been fixed and/or the requested behavior has been implemented
Projects
None yet
Development

No branches or pull requests

6 participants