CSLA 4.x + VS2010 + .NET 3.5

CSLA 4.x + VS2010 + .NET 3.5

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

Andreas posted on Friday, June 18, 2010


is it possible to compile Csla 4.x with .NET 3.5 and VS2010? We would love to fully switch to Csla 4.x with our projects but our customers don't want to install .NET 4 before next year. I worked on it about 2 hours but I am not sure about the changes. I couldn't find any forum entries if there is a "no go" for .NET 3.5 and Csla 4. There are definitly some restrictions (DataAnnotations namespace, VisuaStateManager etc.) which can be solved, but I am not sure if if will break everything else? 


bniemyjski replied on Friday, June 18, 2010


CSLA 4.0 was created around .NET 4.0, I would recommend changing the target framework to 3.5 and then fixing all the build errors and code that was written against 4.0. The way to test to make sure you did everything correctly would be to run the unit tests. But even then I think you are going to run into some issues as there are core differences between .NET 3.5 and .NET 4.0 that are not very well documented.


-Blake Niemyjski

Copyright (c) Marimer LLC