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

[Add Using] Does not offer to add reference to shared project #8572

Closed
jmarolf opened this issue Feb 10, 2016 · 4 comments
Closed

[Add Using] Does not offer to add reference to shared project #8572

jmarolf opened this issue Feb 10, 2016 · 4 comments

Comments

@jmarolf
Copy link
Contributor

jmarolf commented Feb 10, 2016

  • Create shared project SharedProject1 that contains type Test
  • Create class library ClassLibrary1 that contains the following code:
namespace AddUsing4
{
    public class Class1
    {
        static void Main(string[] args)
        {
            var t = new Test();
        }
    }
}

Expected: Add Using offers to add reference to SharedProject1
Actual: SharedProject1 is not offered

image

@jmarolf
Copy link
Contributor Author

jmarolf commented Feb 10, 2016

@CyrusNajmabadi

@CyrusNajmabadi
Copy link
Member

This is an interesting case that i have no idea how to solve :)

The problem is htat shared projects, as i understand them, are just a bundle of linked files. Those linked files mean nothing until they are included within some actual project. It's possible we could try to support this through the usage of some sort of virtual project made for this shared project, and some sort of virtual compilation for this project though.

@DustinCampbell
Copy link
Member

Triage feels like this is really hairy and kind of new feature. Adding to the backlog.

@davkean davkean added the Feature - NuGet Add Using NuGet Add Using label Feb 14, 2016
@jmarolf jmarolf added the User Story A single user-facing feature. Can be grouped under an epic. label Dec 2, 2021
@jmarolf jmarolf removed the User Story A single user-facing feature. Can be grouped under an epic. label Jan 6, 2022
@CyrusNajmabadi
Copy link
Member

Closing out due to lack of feedback.

@CyrusNajmabadi CyrusNajmabadi closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2024
@dotnet dotnet locked and limited conversation to collaborators Oct 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants