-
Notifications
You must be signed in to change notification settings - Fork 677
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
Code reports errors in removed source files #87
Code reports errors in removed source files #87
Comments
From @egamma on February 20, 2016 15:12 Not clear whether this is Omnisharp or the Code marker infrastructure. The fact that the error count drops to 0 indicates that the marker is properly removed when the file is deleted. |
From @dbaeumer on February 29, 2016 15:53 Since the error counts drops to zero I suspect this being a problem in OmniSharp land |
Omnisharp doesn't really support delete... |
I wanted to put this higher on the stack. After using VS Code more I have found that this issue is even worse if you rename a file. VS Code will always give you the error that XYZ class has already been defind. |
I've recently come across this bug. Steps to reproduce:
Expected: The error should go away. A workaround is to restart Omnisharp after changing the file system (add/rename/delete files from solution). |
We're going to use #785 to track the file renaming issue. I believe the other issues mentioned here are addressed. |
From @jeffschwMSFT on February 19, 2016 18:13
On my OS X Yosemite machine running Code, I was adding/removing code in a solution. One of the files I removed had a C# build error. The interesting thing was the the error persisted in my Code session even after deleting the file (control - click - delete). The error only went away once I closed the folder and reopened.
Copied from original issue: microsoft/vscode#3174
The text was updated successfully, but these errors were encountered: