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

.NET Core SDK projects with P2P or NuGet references will see phantom errors in Error List #3952

Closed
cartermp opened this issue Nov 15, 2017 · 4 comments
Labels
Area-LangService-API Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone

Comments

@cartermp
Copy link
Contributor

cartermp commented Nov 15, 2017

Repro steps

  1. Create a new .NET Core Console App.
  2. Create a new .NET Standard class library and add a reference to it from the console app.
  3. Type Say in the Program.fs file in the Console App.

Expected behavior

No errors.

Actual behavior

IntelliSense all works (yay!), but the Error List says that the symols I'm using aren't defined:

err

Known workarounds

Close and re-open Program.fs.

Related information

  • VS 15.5 Preview 4
@cartermp cartermp added Area-CoreCLR Area-LangService-API Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code. labels Nov 15, 2017
@cartermp cartermp added this to the VS 2017 Updates milestone Nov 15, 2017
@cartermp cartermp changed the title Newly-created .NET Core SDK projects with P2P references will see phantom errors in Error List .NET Core SDK projects with P2P references will see phantom errors in Error List Nov 15, 2017
@cartermp
Copy link
Contributor Author

Note that this will also be the case if you have a P2P reference in an existing project that you open. As in the case of the original issue, you just need to close and reopen your files and then the errors in the error list will go away.

@cartermp cartermp changed the title .NET Core SDK projects with P2P references will see phantom errors in Error List .NET Core SDK projects with P2P or NuGet references will see phantom errors in Error List Jan 14, 2018
@dsyme dsyme added the Bug label Feb 24, 2018
@ghost
Copy link

ghost commented Mar 9, 2018

Repro on latest d15.7/27508.00.
Not repro on latest d15.7stg/27508.3006.

@ghost
Copy link

ghost commented Mar 13, 2018

Not Repro on latest d15.7/27512.00.

@cartermp
Copy link
Contributor Author

@KevinRansom and I chatted and he believes this is fixed with #4328, which came in too close for 15.6 but made it into 15.7. Given that this has not reproduced on the 15.7 build where we've had an insertion, he appears correct. I'll close this out and re-open if it reproduced again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-API Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Projects
None yet
Development

No branches or pull requests

2 participants