dotnet / dotnet/project-system

Reference manager doesn't support multi-targeting

Open
#4,960 2 comments 4 reactions 0 assignees View on GitHub
Feature-Multi-Targeting Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

**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**:

1. Create a project with `netcoreapp2.0;net461`
2. Right click the _Dependencies_ node and click _Add Reference..._
3. Note the _Assemblies_ tab is not available
4. Reorder the `TargetFrameworks`
5. Repeat step 2
6. 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.