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

There is no intellisense for the referenced project from a test project #1420

Closed
nozer opened this issue Apr 23, 2017 · 2 comments
Closed

There is no intellisense for the referenced project from a test project #1420

nozer opened this issue Apr 23, 2017 · 2 comments

Comments

@nozer
Copy link

nozer commented Apr 23, 2017

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.1

VS Code version: Version 1.11.2 (1.11.2) 6eaebe3b9c70406d67c97779468c324a7a95db0e

C# Extension version: 1.9.0

Steps to reproduce

1 - Create a new lib via dotnet new classlib
2 - Create a test project via dotnet new xunit
3 - Reference the lib # 1 from test project at # 2
4 - Open the test project on visual studio code by itself
5 - Try to use namespace / class etc from the lib in your test project

Expected behavior

Intellisense

Actual behavior

No intellisense

@nozer nozer changed the title There is no intellisense for the referenced project There is no intellisense for the referenced project from a test project Apr 23, 2017
@nozer
Copy link
Author

nozer commented Apr 24, 2017

If I open the parent directory that contains both the lib and test directories, that intellisense works fine. I will assume this is how it is intended to be done and close the issue.

@nozer nozer closed this as completed Apr 24, 2017
@DustinCampbell
Copy link
Member

That's right. I'm working on a fix for #963 in 1.10 that should address this.

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