How to: Change the Namespace of a Domain-Specific Language

You can change the namespace of a domain-specific language. You must make the change in the DSL Explorer, in the properties of the Dsl Package project, and in the assembly information.

To change the namespace of a domain-specific language

  1. In DSL Explorer, click the Dsl node.

  2. In the Properties window, change the Namespace property.

  3. Save the solution and transform the templates.

  4. On the Project menu, click Dsl Properties.

    The properties for your project appear.

  5. Click the Application tab.

  6. Change the Default namespace property to the new namespace name.

  7. If you also want to change the name of the assembly, change the Assembly name property.

  8. If you have written any custom code, make sure to change the namespace and class references in the code files.

See Also

Other Resources

Domain-Specific Language Tools Glossary

Change History

Date

History

Reason

July 2008

Rewrote and refactored project.

Content bug fix.