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

Productivity Power Tools Remove and Sort Usingas on save broken after Upgrade to ASP.NET Core 2.2 #215

Open
JamesKibirige opened this issue Dec 8, 2018 · 2 comments

Comments

@JamesKibirige
Copy link

Hello, I am having issues with the remove and sorting using the feature in VS 2017 Power commands extension. Also, the suggestions for remove and sort usings are causing problems.

After I upgraded to Asp.net Core 2.2 suggestions for my using statements and remove and sort usings, have become unreliable. It is suggesting to remove using declarations that are needed and necessary in the project. This is a serious issue as if it cannot be trusted it can easily break the dependencies in a solution. I used to run the Remove and sort usings command on the entire solution, how can an upgrade to .NET Core 2.2 create an issue like this?

@prnadago
Copy link
Contributor

Thank you for your feedback @JamesKibirige!
In order for us to investigate this further, would you please provide more information when this issue happens?

  1. Please follow the instructions below , especially "Provide a trace and heap dump" section to record the issue you are experiencing.
    https://docs.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio-2017
  2. The recorded files can be found under %TEMP%\Microsoft\VSFeedbackCollector.
  3. Upload these files to this feedback by replying and inserting the files using the insert (attach) button.

@phenry9999
Copy link

I am seeing this happening now as well with VS 2019. Simply stated, the reordering of the System namespaces are not sorted to the top and the others are not sorted alphabetically. In short, the setting are simply being ignored (tools\options\Text Editor\C#\Advanced\Using Directives section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants