473,406 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

VS 2005 'Go to definition' (F12) with file references

We just switched from vs 2003 to vs 2005. We have a large number of
projects in the solution. So to make it easier on everyone we use file
references instead of project references. The biggest issue so far that
I have with 2005 is that if file references are used then the "Go to
definition" command only is able to bring up the "metadata" interface
file. However, if project references are used then the "Go to
definition" command is able to open up the source file in the solution.
This feature always worked in vs2003. What happened? It is a critical
feature for quick code navigation. By the way the "Object Browser" is
able to load the code in the editor even if file references are used.
Is this a bug, a known issue, does anyone know?
Thanks

Dec 28 '05 #1
1 1419
This also happens in ASP.NET projects when you have objects defined in
subfolders. A common example is to have a "Controls" subfolder where
you define User Controls. In VS2005, if you have a reference to such a
User Control on a page, and you "Go to definition" for a public member
of the control referenced in the page, it goes to the metadata. VERY
annoying!

Alan wrote:
We just switched from vs 2003 to vs 2005. We have a large number of
projects in the solution. So to make it easier on everyone we use file
references instead of project references. The biggest issue so far that
I have with 2005 is that if file references are used then the "Go to
definition" command only is able to bring up the "metadata" interface
file. However, if project references are used then the "Go to
definition" command is able to open up the source file in the solution.
This feature always worked in vs2003. What happened? It is a critical
feature for quick code navigation. By the way the "Object Browser" is
able to load the code in the editor even if file references are used.
Is this a bug, a known issue, does anyone know?
Thanks


Jan 10 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: mimages | last post by:
I press F12, and the page displays locally, but the included files (PHP) don't get included. I could've sworn it was working, once upon a time. Now, it just shows everything else in the page minus...
2
by: Jerry | last post by:
My "main" class is getting a bit long...Is it possble to split a class definition into several files and then import the pieces to get the whole definition? Jerry
0
by: Gabriel B. | last post by:
This is completely odd to me... # Bind F1...F12 to <<TabKeys>> self.tk.event_add( '<<TabKeys>>', # keys used to switch between the tabs...
6
by: sathyashrayan | last post by:
Following are the selected thread from the date:30-jan-2005 to 31-jan-2005. I did not use any name because of the subject is important. You can get the original thread by typing the subject...
1
by: Bishoy George | last post by:
Hi all, I want to see the hidden part of the partial class of web page. I tried to right click on the class name and click on Find All References, although visual studio 2005 got the other...
12
by: Lighter | last post by:
See an example at first: hdr.h -------------- struct X { static const int m = 9; };
0
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK,...
3
by: Andrus | last post by:
I need that WinForms DateTimePicker opens calendar when F12 key is pressed. I tried code below but got error Property or indexer 'System.Windows.Forms.KeyEventArgs.KeyCode' cannot be assigned to...
2
by: puzzlecracker | last post by:
I am sick and tired of looking in explorer or right-click on the type in some class to go to its definition. In eclipse (java) you could do ctrl-shift-t and then type a Type you're looking for and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.