Add As Link

Posted Thu, Jan 17 2008 1:42 by bill

in VB 2008 you get a great intellisense experience when working with XML axis properties if you add the schema(s) to your project.  You don't need to add the actual schema, you can just add a link.   From the Project menu select Add Existing Item, browse to the xsd file then do NOT click Add, instead click the drop down arrow next to Add and select Add As Link.

 

addaslink

 

One thing to be aware of is the path is stored in your project file (.vbproj) as a relative path. This can be problematic when distributing projects and the file is outside of the project directories, but works well when the path is a shared folder in a multi project solution.

Filed under: , , ,