Dumb question - .NET 3.0 required for CSLA 3.0 ??

Dumb question - .NET 3.0 required for CSLA 3.0 ??

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


Gort posted on Monday, October 15, 2007

I'm guessing this is a dumb question, but I need to confirm....is .NET 3.0 required for CSLA 3.0?

Thanks.

ajj3085 replied on Monday, October 15, 2007

Nope; just like the 3.0 framework, its purely additive.  Just define the compiler symbol NET20 in the Csla project file, and you won't need the 3 framework to compile it.

Gort replied on Monday, October 15, 2007

When I attempt to build, I get a lot of errors regarding missing references:

'The type or namespace name 'ServiceModel' does not exist in the namespace 'System'....'

I get the same errors for:

DataContractSerializerOperationBehavior

System.Windows.Controls

System.Windows.Data

System.Windows.Documents

System.Windows.Input

System.Windows.Media

System.Windows.Navigation

and more...

Where are these dll's supposed to be coming from?

ajj3085 replied on Monday, October 15, 2007

They are from .Net 3.0.  As I said, you need to define the NET20 compiler constant in the Csla project properties so that the 3.0 specific code doesn't get compiled.

Gort replied on Monday, October 15, 2007

Oh!  I gotcha.  Thanks for the help!!

JoeFallon1 replied on Monday, October 15, 2007

http://www.lhotka.net/Article.aspx?area=4&id=ac20fe4c-6afc-4176-bcb4-d74b5a370356

Joe

 

Copyright (c) Marimer LLC