Change DxCore Template
-
Ok, now that I'm back from luunch, here's the question that I posted earlier in the Forum that was so popular... I'm using DxCore. When I create a new class, it generates this template:
// -----------------------------------------------------------------------
// // TODO: Update copyright text.
//
// -----------------------------------------------------------------------namespace MyNamespace
{/// /// TODO: Update summary. /// public class MyClass { }
}
I don't like the way this is set up. Does anyone know where in DxCore I need to do to change the layout of this template? Thanks
If it's not broken, fix it until it is
-
Ok, now that I'm back from luunch, here's the question that I posted earlier in the Forum that was so popular... I'm using DxCore. When I create a new class, it generates this template:
// -----------------------------------------------------------------------
// // TODO: Update copyright text.
//
// -----------------------------------------------------------------------namespace MyNamespace
{/// /// TODO: Update summary. /// public class MyClass { }
}
I don't like the way this is set up. Does anyone know where in DxCore I need to do to change the layout of this template? Thanks
If it's not broken, fix it until it is
Templates are stored in the Visual Studio directory tree, so you need to look there for the root of the DxCore templates and then find the relevant file and modify it. I wrote this article[^] which has some information about the structure in VS Express editions, but it may have the same basic tree structure that would help. [edit] There is also a Templates directory under the user's Visual Studio development directory which may contain the specific items you want. Check the Tools (or other) menu item for possible links. [/edit]