Changing the file extension in a Domain Specific Language Tools Designer

I recently changed the file extensions in a couple of our Domain Specific Language designers and thought it worth noting the files that need to be modified to make it all work:
 
Files to rename:
 
  • Debugging\Empty.$Extension$
  • Debugging\Sample.$Extension$
  • Designer\ItemTemplates\$Extension$.$Extension$
 
Files to modify:
 
  • Debugging\$LanguageName$Debugging.csproj
  • Debugging\$LanguageName$Report.ReportTemplate
  • Debugging\$LanguageName$ReportVB.ReportTemplate
  • Designer\$LanguageName$Designer.csproj
  • Designer\Diagram\$LanguageName$Designer.resource.resx
  • Designer\ItemTemplates\CS.vstemplate
  • Designer\ItemTemplates\VB.vstemplate
  • Designer\Shell\Constants.dslddt
  • DesignerUI\DesignerUI.rc
 
The filenames may not be exactly these, depending on which template you originally used, but this should give you a good idea.  You can either modify the project file by loading the projects and adding and removing the new and old files, or by editing the .csproj files directly in a text editor.  The VSEdit Powertoy is invaluable for treating Visual Studio like Notepad from the command line.
Published 05 September 05 05:30 by GarethJ
Filed under: ,

Comments

No Comments
New Comments to this post are disabled

Search

This Blog

Disclaimer
The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion.
All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Tags

Archives

Architects who Model

DSL Tools Team

Links

Syndication

Page view tracker