CSLA 4 Templates

CSLA 4 Templates

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

SeanO posted on Wednesday, August 11, 2010

Where can I find CSLA 4 templates?  I noticed in the other releases, the templates came with the framework, but I downloaded and installed CSLA 4 and only have Snippets, no templates.  I noticed that there was an entry in the Change Log saying that the templates have been updated, but I cant seem to find out where they are.

RockfordLhotka replied on Wednesday, August 11, 2010

It depends on what you mean by "templates". There are sample template classes in the Support folder along with the snippets. They aren't Visual Studio Template items - just examples showing structure.

It turns out to be a lot of work to create actual VS templates and make them installable. (the installer part is the killer) In the last couple releases someone volunteered to do all that work, which was really nice. Nobody has stepped up to do this work yet for CSLA 4, though it has certainly been discussed.

So I suspect it will happen at some point - when someone has the time and energy to fight with the installer stuff for a while.

SeanO replied on Wednesday, August 11, 2010

Thanks Rocky.  For some reason, the installer didn't put them in the Support folder.  I only got the snippets.  I ended up going into the repository and downloading them from there.

RockfordLhotka replied on Wednesday, August 11, 2010

I'll have to check the installer to see what's up then. I must say that creating and maintaining installers is a serious PITA... Smile

lloydmcd replied on Friday, September 17, 2010

Was there any resolution to the installer problem(s)?  We're having issues where the CSLA item templates install for some users, but not others. 

Would it be possible to post the item template project source as was done for the 3.x versions?  That way we could shoulder the responsibility of maintaining them.


RockfordLhotka replied on Friday, September 17, 2010

The installer should be putting the template files into a Templates folder - starting in 4.0.1 - or so says the change log.

These are still not VS templates - they are just example class files.

There is no current VS template source code. Each version was created by a different person, and after each version that person never came back. I can only assume, therefore, that creating these templates is such a PITA that one run at them burns people out Big Smile

That said, I'd surely welcome help getting a set of CSLA 4 VS templates put together!

Copyright (c) Marimer LLC