Reference manager doesn't support multi-targeting
Opened this issue · 2 comments
Visual Studio Version: 16
Summary:
If a project contains multiple target frameworks, the behaviour of the Reference Manager is determined only by the first in that list.
Steps to Reproduce:
- Create a project with
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks> - Right click the Dependencies node and click Add Reference...
- Note the Assemblies tab is not available
- Reorder the
TargetFrameworks - Repeat step 2
- Note the Assemblies tab is available
As @nguerrera said:
Getting this fully right is hard and probably requires new UI, the references would have to be conditioned on tfm.
Thank you. I experienced this in 16.1.3. Can confirm that swapping the order of the <TargetFrameworks> values allowed the Assemblies tab to be seen.
Seems it needs to look and see if the project lists any framework that supports them and then show it.
Well what files can I edit for the UI thing that shows up in visual studio on the property pages? Because maybe I can experiment with what might look best for a change to fix #800.