I've been tasked to write a new application in Winforms (yes, winforms) and I'm getting familiar with CSLA business objects in my business layer project and I have a UI project for the interface but I noticed that there are no components loaded on the toolbox (Visual Studio 2013) even though I have added a reference to the project and even selected choose items from the toolbox and manually selected the csla.dll. The only items added to the toolbox when I manually point to the DLL from the toolbox dialog is the CSLA.Threading BackgroundWork component.
What am I missing here? Shouldn't there be some other items like CSLADataSource? I'm trying to set up a simple binding example to test with and it seems that I would need some of these controls to help work through some winform issues (at least according to the documentation).
Thanks
Mark
You'll need to right click in an empty space in your toolbox and choose Add Items, then browse to Csla.Windows.dll.
Hi Andy,
Thanks for the help, I really appreciate but had a quick question. I used Nuget to add the CSLA dll to my project and it doesn't appear that it added a CSLA.Windows.dll so do you know where I find that?
Thanks
http://www.nuget.org/packages/CSLA-WindowsForms/
Install-Package CSLA-WindowsForms
My preferred solution is to subclass the controls I need from Csla.Windows inside a project in my solution.
Visual Studio will automatically load controls into Toolbox that are in your solution.
I prefer this as it lets med upgrade to newer NuGet packages and also have a number of solutions that have different references and switch back and forth between these solutions.
When you install Csla.Windows into toolbox you have registered that assembly and version in Visual Studio - not just for this solution.
Thanks, that worked.
Good idea! Thanks.
Copyright (c) Marimer LLC