CSLA version upgrade

CSLA version upgrade

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

nish posted on Tuesday, November 08, 2011


I'm really confused about the possible upgrade option.

I've taken the development responsibility from my senior who has actually developed the web project from scratch using CSLA.

Currently we are using visual studio 2005 but i'm  not aware which version of CSLA are we using. Is there any way to know version of CSLA currently i'm using.

Also I'm planning to upgrade application to .Net Framework 4.0 and possibly CSLA as well. Can anyone suggest me about the possible way to upgrade latest version of CSLA? Which is the most stable and newer version of CSLA should i possibly upgrade to?

Waiting for prompt response.


bniemyjski replied on Tuesday, November 08, 2011


To get the CSLA Version you are using, I'd recommend looking in Solution Explorer under your Projects Assembly References for the CSLA Reference and right click it and select properties. Did you write all of the existing Business Objects by scratch or generate them with CSLA Contrib?

RockfordLhotka replied on Tuesday, November 08, 2011

This may help too:


nish replied on Thursday, November 10, 2011

Hi Blake/Rockford

Thanks for your response.

I found out current version of CSLA that we are using and it's 2.1. 

Currently we are using codesmith to generate the class file and store procedure. We do have customized template to make it more simple.

I am just wondering if i want to auto generate business class in visual studio 2010 do i still need to use codesmith or there is any other options available?


bniemyjski replied on Thursday, November 10, 2011


You could generate business classes in VS2010 using CodeSmith Generator or you could write your own. It's entirely up to you. We have made it easy to upgrade from the CSLA Contrib templates you were using, but I'm not aware of what customization's you were using. I'd recommend taking a look at this.

Copyright (c) Marimer LLC