CSLA for VB 2008 Express?

CSLA for VB 2008 Express?

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


jender624 posted on Wednesday, January 28, 2009

I sincerely hope this is not a dumb question, but I was wondering if the CSLA framework was only compatible with .Net projects developed through Visual Studio, or would I be able to incorporate it into a project I'm developing in Visual Basic 2008 Express Edition also?

As always, I appreciate any responses.

ajj3085 replied on Thursday, January 29, 2009

Yes, you should be able to use Csla.Net with VB Express. You won't be able to compile it, as the framework itself is C# only now (although there is a community effort to port to VB, but it's not complete), but your VB application can use it without issue.

jender624 replied on Thursday, January 29, 2009

Ok, great...Thanks!

jender624 replied on Friday, January 30, 2009

Actually, one more question...is it possible to get the built CSLA.dll framework file, instead of downloading the framework project and having to build it yourself?  I'm finding that when I try to load the cslavb.sln solution in VB 2008 that it does not completely load, I'm guessing because of some C# code. 

JoeFallon1 replied on Friday, January 30, 2009

FYI - the VB version of CSLA 3.6 is not complete yet. See another thread in this forum for more info. It is a community project. They just got it so it will compile but many methods are stubbed out with 'TODO in them.

Bottom line recommendation:

Download the C# version, compile it once with your private key (.snk file) and copy the .dll to your VB project and just reference that.

I use VB but I doubt I will ever use the unofficial version for CSLA for my real projects. I would download it so I could review it and read it better. More of a reference.

I think you should do the same.

Joe

 

jender624 replied on Saturday, January 31, 2009

Thanks!  I see the .snk file...how do I go about compiling the project using it?

JoeFallon1 replied on Sunday, February 01, 2009

Well it comes with a .snk file so you do not have to "do" anything.

But you should create your own .snk file (see Google) and then in the Project Properties Signature tab, click the dropdown with the .snk and then choose <Browse>... to select your .snk file instead. Then just compile.

Copyright (c) Marimer LLC