In my windows form projects I don't have to manually add items to the toolbox as with VS2003. All the CSLA stuff is automagically there.
But with a web site project the controls like CslaDataSource aren't there. What's weird is that it actually shows up in the toolbox for a windows form project, but I've got nothing for the web project.
Is there something wrong here I can fix?
After you have referenced Csla in your web project, right click your toolbox and select "Choose items." Try sorting the list by name and you should see the Csla specefic toolbox items.
I know about doing that.
With VS2005 I've never had to do that with Windows Forms projects. All the CSLA controls just show up in the toolbox without me doing anything special to add them.
Is it supposed to work that way with web projects as well? I did check the Choose Items list and actually the CslaDataSource is checked. Maybe just something weird going on with my machine.
Ok, this is weird. I have a big giant solution a la ProjectTracker where I have CSLA, my business object library, a WinForms solution and a Web solution all in one.
In the WinForms project everything works as normal.
When I look at the properties/references of the web site project I have only the business library listed. If I remove that then the CSLA libraries show up in the list. If I add the business library project back in the CSLA stuff disappears. If I try to manually add CSLA at that point it tells me a reference to CSLA already exists. I'm presuming it is tracking through the business library and not re-listing projects referenced indirectly through it.
The problem is that the CSLA controls only show up in the toolbox when they are visible in the references list.
Has anybody else dealt with this or is nobody doing any ASP.NET with CSLA? Or is there just something hosed with my Visual Studio?
Copyright (c) Marimer LLC