CSLA 3.0 with .NET 2.0

CSLA 3.0 with .NET 2.0

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


bassplayer posted on Friday, August 03, 2007


Is there an HOWTO on compiling the CSLA 3.0 with .NET 2.0?  When I load the project a lot of the references are missing (e.g. System.Runtime.Serialization, System.ServiceModel, and of course, the .NET 3.0 specifics - PresentationCore, PresentationFramework, etc..)


tmg4340 replied on Friday, August 03, 2007

From Rocky's 3.0 page (http://www.lhotka.net/weblog/CSLANET30AvailableForDownload.aspx):

Again, CSLA .NET 3.0 can be used without Microsoft .NET 3.0. If you want to build CSLA .NET 3.0 without installing the Microsoft .NET 3.0 runtime, you must define the NET20 symbol in project properties.

Follow these links and you should be in good shape.  If you don't have .NET 3.0 installed, you will still see warnings concerning the 3.0 assemblies, but CSLA will still compile.

- Scott

bassplayer replied on Friday, August 03, 2007


Thanks Scott, that did the trick! :)


Wbmstrmjb replied on Thursday, July 24, 2008

Great, thanks.

RockfordLhotka replied on Friday, July 25, 2008

Shameless plug: This is also discussed at the beginning of the Using CSLA .NET 3.0 ebook.

Copyright (c) Marimer LLC