The objectdatasource of Asp.net 2.0 is annoying, that is, its typename is a string.
Therefore, you cannot use go to definition to automatically jump to the class it references. Therefore, you have written an addin.
You can automatically jump to the file of the project it references, which is more convenient.
Install the following file, go to tools-> options-> add-in and add the installation directory to find the location where add-in is loaded.
It is also easy to use. In the Souce window of aspx, right-click and have another menu. "Find class" and click it in objectdatasource.
It will automatically find the file it references.
One important point is to install the menu in _ applicationobject. commandbars) ["aspx context.
Then, operate textselection, locate typename and methodname, and call codeelement to find projectitem.
However, there is a bug in vs. NET 2005. A change of behavior retrieving the projectitem. filecodemodel in Visual Studio 2005 web projects.
Msi setup
Source code