Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
How to: Rename a Project Web Reference

How to: Rename a Project Web Reference

The name assigned to a Web reference is also its programmatic namespace. The namespace can be changed to suit your needs. You can change the name of the Web reference to any string expression that is meaningful to its function. For example, you could change the name of a Web reference that handles account totals to AccountTotal.

To rename a Web reference in a project

  1. In Solution Explorer, expand your project's App_WebReferences folder, and then select the node for the reference you want to rename.

  2. Right-click the reference and click Rename, and enter a new name.

    NoteNote

    If you have used the old name elsewhere in your project code, remember to change each occurrence to the new name.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft