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

IntelliSense fails on newly installed packages with ContentFiles #5047

Closed
davidmatson opened this issue Apr 17, 2017 · 3 comments
Closed

IntelliSense fails on newly installed packages with ContentFiles #5047

davidmatson opened this issue Apr 17, 2017 · 3 comments

Comments

@davidmatson
Copy link

On VS 2017 (15.1, 23403.0).

  1. Create a CPS-style csproj with a target framework of full .NET framework (for example, net462).
  2. Install a NuGet package that has contentFiles with C# code in it.
  3. Reference this package from other source code.
  4. Build. Watch the build succeed.
  5. Try to Go to Definition or otherwise use IntelliSense on the new package.

Expected:
IntelliSense works

Actual:
IntelliSense cannot resolve the identifiers. If the solution is closed and re-opened, it succeeds.

@davidmatson
Copy link
Author

The attachment on #5048 should also provide a repro for this issue.

@davidmatson
Copy link
Author

It appears that the linked items are only being evaluated if the solution is re-loaded, and not at package install time.

@emgarten
Copy link
Member

This issue was moved to dotnet/project-system#2022

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

2 participants