-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Comments
Remove unused references only work with SDK-style projects currently |
Another developer community post - https://developercommunity.visualstudio.com/t/Remove-unused-References-is-not-presen/1434714 |
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. |
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. |
any updates on this ticket? |
2 years later still no solution on microsoft side... |
@m0lDaViA we'd definitely always appreciate community help on issues you're passionate about! :-) |
installing ReSharper just because I need this feature. |
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. |
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)
The text was updated successfully, but these errors were encountered: