How do i install the templates in c# for csla 2.0.3?

How do i install the templates in c# for csla 2.0.3?

Old forum URL: forums.lhotka.net/forums/t/1713.aspx


ianinspain posted on Wednesday, November 08, 2006

Hi there,

just downloaded csla 2.0.3 and i notice a great directory \csla20cs\csla20cs\Templates  .. but how do i install them...

i tried opening up the sln file and saying export as template in vs2005...i choose item template.... is this correct... nothing seems to happen...

maybe i am doing something wrong.... got the snippets working though...

but would love to get the templates working too... to save a bit of typing :-)

I hope someone can help

thanks in advance

ian

david.wendelken replied on Wednesday, November 08, 2006

My C# templates go here...

C:\Program Files\Microsoft Visual Studio 8\VC#\CSharpProjectItems

You might want to put them in  a subdirectory, otherwise they get all jumbled in with the other built-in templates.  That, or rename them so they all appear together in the list...

ajj3085 replied on Wednesday, November 08, 2006

I think you can put them in My Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C#, that why they aren't mixed with the system ones.

ianinspain replied on Friday, November 10, 2006

Thanks... but what do i do... just copy them there... i just tried that and Insert new item... doesn't display any of the csla items....


david.wendelken replied on Friday, November 10, 2006

david.wendelken:

My C# templates go here...

C:\Program Files\Microsoft Visual Studio 8\VC#\CSharpProjectItems

You might want to put them in  a subdirectory, otherwise they get all jumbled in with the other built-in templates.  That, or rename them so they all appear together in the list...

I just plopped them into the directory above and it worked. 

ianinspain replied on Tuesday, November 14, 2006

Thanks all!

I am going to give it another shot

Thanks

ian

MikeHamilton replied on Friday, November 10, 2006

ianinspain:
Hi there,

just downloaded csla 2.0.3 and i notice a great directory \csla20cs\csla20cs\Templates  .. but how do i install them...

i tried opening up the sln file and saying export as template in vs2005...i choose item template.... is this correct... nothing seems to happen...

maybe i am doing something wrong.... got the snippets working though...

but would love to get the templates working too... to save a bit of typing :-)

I hope someone can help

thanks in advance

ian

I exported each item seperately (can't select more than one) through the export wizard and that creates the .zip file that needs to be copied to the Item Templates directory.

Mike

Copyright (c) Marimer LLC