BO not showing in Data Sources

BO not showing in Data Sources

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


jfreeman posted on Friday, January 25, 2008

I built a new Business Object in my business layer but when I try to add it in my Win App I cannot see the new object.  Also, I cannot change the control associated to the BOs I already have in my application under Data Sources.  I am running VS2008.  Has anybody run into this before.  Thanks.

Jonathan

JohnB replied on Thursday, January 31, 2008

Have you tried the following:

1) Make sure you rebuild your BO layer
2) Add a new form and make sure that it is open
3) View the datasources window
4) You should have an option to add a new datasource and pick your BO from the list

Other than that, I'm not sure.

Hope this helps,
John

jstevens replied on Friday, February 01, 2008

Jonathan,

this is very basic, but have you added a dll reference to your business layer library and the CSLA dll  to your Win app?  In addition, add "Imports ... type in whatever the name of your business layer library is..." to the top of your Win app code page.  You can see examples of this in the ProjectTracker app Rocky built.

Copyright (c) Marimer LLC