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

'Remove Unused References' not in menu for non-SDK style projects #54801

Open
vsfeedback opened this issue Jul 13, 2021 · 10 comments
Open

'Remove Unused References' not in menu for non-SDK style projects #54801

vsfeedback opened this issue Jul 13, 2021 · 10 comments
Assignees
Labels
Area-IDE Concept-Continuous Improvement Developer Community The issue was originally reported on https://developercommunity.visualstudio.com
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
Just installed 16.10.0 - I still don't see Remove Unused References in several C# project types even though I've enabled it in options. Please let us know how to enable it, thanks!


Original Comments

Jason Thorpe on 5/25/2021, 00:43 PM:

It showed for me, but only in a .net core project. I’m disappointed this wasn’t made to work in .net framework projects.

Feedback Bot on 5/25/2021, 07:40 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Feedback Bot on 5/26/2021, 09:55 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

M Kennedy on 5/26/2021, 10:18 AM:

“Remove Unused References”
Only shows on SDK type .csproj projects and not legacy .csproj projects.
When it does show, it always displays “Nothing to remove” even though there are obvious references
that have nothing to do with the project. Was really looking forward to this feature.

Iltan CANER on 6/8/2021, 00:28 PM:

Screenshot 2021-06-08 221728.png
Screenshot (3).png
Screenshot (4).png

Saravanaram Kumarasamy on 6/18/2021, 11:48 PM:

(private comment, text removed)

Todd Dworshak on 6/23/2021, 10:09 AM:

Seeing the same thing. Sometimes “Remove Unused References” appears on the project menu, and sometimes it doesn’t. Same project. I have yet to find a pattern to it. Super strange.

Joey Robichaud on 7/13/2021, 03:32 PM:

As pointed out in the comments, the “remove unused references” functionality only works with the newer SDK-style projects. I will move this issue to the Roslyn GitHub so that we can continue to gauge demand for this functionality with Full Framework projects.


Original Solutions

(no solutions)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 13, 2021
@JoeRobich JoeRobich changed the title 'Remove Unused References' not in menu 'Remove Unused References' not in menu for non-SDK style projects Jul 13, 2021
@jinujoseph jinujoseph added Concept-Continuous Improvement and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 13, 2021
@jinujoseph jinujoseph added this to the Backlog milestone Jul 13, 2021
@jinujoseph jinujoseph added the Developer Community The issue was originally reported on https://developercommunity.visualstudio.com label Jul 13, 2021
@jinujoseph
Copy link
Contributor

Remove unused references only work with SDK-style projects currently

@JoeRobich
Copy link
Member

@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
@jeffjmc
Copy link

jeffjmc commented Mar 10, 2022

Not sure where to track this feature request: the ticket in the developer community is linked at the top of this discussion [https://developercommunity.visualstudio.com/t/Remove-Unused-References-not-in-menu/1431565] is closed as duplicate and points back to this discussion. Just want to add a vote for adding the "Remove Unused References" feature to all project types.

@Valentein47
Copy link

Valentein47 commented Aug 11, 2022

I used this feature all the time in my previous org when I had Resharper intstalled. I'm really surprised not to see this available for a normal .NET Framework C# class library project.

@frozzen10
Copy link

any updates on this ticket?

@m0lDaViA
Copy link

m0lDaViA commented May 5, 2023

2 years later still no solution on microsoft side...

@CyrusNajmabadi
Copy link
Member

@m0lDaViA we'd definitely always appreciate community help on issues you're passionate about! :-)

@sauravbhattacharya001
Copy link

installing ReSharper just because I need this feature.

@hfickes
Copy link

hfickes commented Apr 17, 2024

Lots of people still use .Net Framework because we need to. In our case, its because Office only supports .Net Framework with VSTO. We can't move to the latest .Net.

Please add this feature for .Net Framework projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Concept-Continuous Improvement Developer Community The issue was originally reported on https://developercommunity.visualstudio.com
Projects
None yet
Development

No branches or pull requests