Intellisense fails to recognize namespaces of a referenced project.


Type
Bug
ID
453846

Status
Active
Access Restriction
Public

Opened By
dsandor
Opened
5/19/2009
Submission Language
English


Description

Adding a previously compiled project reference to a WCF project does not show intellisense. Even after waiting several minutes.

Product Language

English

Version

Visual Studio Team System 2010 Beta 1

Operating System

Windows Vista

Operating System Language

English

Steps to Reproduce


Solution file with a WCF Service Application and a Windows Class project.
Generate a DBML file and place it in the class project.
Compile.
Add the class project as a 'project reference' to the WCF project.
Reference shows up in References, object viewer shows the object and all it's classes.
Try entering code in the default/template DoWork() method and the Namespace does not show in Intellisense. Manually type the fully qualified namespace+class name; e.g. MyCompany.SubNS.Class1 class1 = new MyCompany.SubNS.Class1();
Gets Red error underline.
Trying to add namespace to using declarations results in same red underlines.
Compile -> successful. Subsequent use of intellisense works properly now.

Actual Results

Referenced classes and namespaces do not show in intellisense until the first time you compile the referencing app.

Expected Results

Referencing application should show referenced classes and namespaces without having to compile the referencing application first. This is behavior in VS2008 already.