SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Custom .xft and .xpt file locations?

Last post 02-26-2007 3:14 PM by MattWard. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 02-25-2007 6:29 PM

    • rodent
    • Not Ranked
    • Joined on 10-16-2006
    • Posts 5

    Custom .xft and .xpt file locations?

    What's the file location to put custom .xft and .xpt templates that will be safe from an install/upgrade as well as show up in the "Add -> New Item..." or "Add -> New Project..." dialogs?

     On a Win machine is it somewhere in the %USERPROFILE%\Application Data\ICSharpCode\SharpDevelop2.1\ tree or does it have to go in #D's data\templates tree?
     

    Filed under:
  • 02-25-2007 7:10 PM In reply to

    Re: Custom .xft and .xpt file locations?

    Looking at the code SharpDevelop searches the SharpDevelop\data\templates path and any paths defined in the .addin files. So there's no support for custom templates in different folders.

    If you're using the installer for 2.1 it does not remove any files or folders that it didn't create. However it could be possible that a new template is added with a newer release of SharpDevelop and it has the same name as one of your files.

    I've added a feature request to implement custom template folders to the bugtracker.
     

  • 02-25-2007 10:44 PM In reply to

    • rodent
    • Not Ranked
    • Joined on 10-16-2006
    • Posts 5

    Re: Custom .xft and .xpt file locations?

    Thanks for the info about the locations and the installer.

    Not to pile onto your feature request, it would also be nice to have other things such as Licenses.xml in data\options\TextLib able to be customized and stored in a different folder.  For example,  I add Apache 2.0 and others to the license file and then copy it over the base license file every time I install a new build of #D.

  • 02-26-2007 1:12 AM In reply to

    Re: Custom .xft and .xpt file locations?

    One new feature request added for this.
  • 02-26-2007 10:41 AM In reply to

    Re: Custom .xft and .xpt file locations?

    Matt,

    Should I pop the apache license into data\options\TextLib in the 2.1 tree along with whatever common licenses are missing?
     

  • 02-26-2007 3:14 PM In reply to

    Re: Custom .xft and .xpt file locations?

    You can if you want to. Like you say only the common open source licenses not all of them since there's quite a lot.
Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.