CSLA 4.5, Async Targeting Pack, Shared Components

CSLA 4.5, Async Targeting Pack, Shared Components

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


BGrojer posted on Wednesday, November 21, 2012

Hi,

we have the following setup:

Client: .NET 4.0 (with async tageting pack)
Server: .NET 4.5  (no targeting pack, native async await support)
Shared Components: .NET 4.0

Is this a problem? I think we should reference the .NET 4 Version everywhere. (not the .net 4.5 Version) to avoid assembly load errors.
I also think that we have to reference the async targeting pack in the Shared Components as well.


Thank you

tiago replied on Wednesday, November 21, 2012

Hi Berhard,

If you use NuGet, the packages are supposed to handle all those dependencies for you.

For Csla 4.5.x

 Note that if you are targeting .NET 4.0 you can use Csla 4.5.x on VS2010.

<edit>

That is, as long as you need to write any async/await constructs...

</edit>

Copyright (c) Marimer LLC