﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Business Object Mapper - Populating Projects</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 03:10:31 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16181.aspx</link><description>Is there a way to mark specific projects to be skipped when the Business Object Mapper is populating the projects within my solution?&lt;P&gt;I have many projects that will never have business objects.&amp;nbsp; This adds quite a bit of time when the Business Object Mapper is launched from within Visual Studio.</description><pubDate>Tue, 06 May 2008 19:08:19 GMT</pubDate><dc:creator>Randy Ayers</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16218.aspx</link><description>Thanks Trent.  I'll chew on this for a bit...</description><pubDate>Tue, 06 May 2008 19:08:19 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16207.aspx</link><description>[quote]The problem I was having is with dependencies.[/quote]&lt;/P&gt;&lt;P&gt;The key is not to use a project reference....that is why it breaks when you combine them into multiple solutions.&amp;nbsp; It is somewhat of a pros/cons type of approach.&amp;nbsp; What we do is have all of our application specific assemblies compile to the same output location, for example:&lt;/P&gt;&lt;P&gt;C:\Development\MyApplication Build&lt;/P&gt;&lt;P&gt;Then each of the projects reference the assembly in that build folder versus a project reference.&amp;nbsp; This will actually speed up your IDE as well...by a lot in some cases.&amp;nbsp; However, the downside is that when you right-click a class and choose "Go To Definition" it will not be able to if the class is in a different project.&amp;nbsp; But that is the only downside...which we decided wasn't too bad since generally you are doing this more often for classes within the same assembly.&lt;/P&gt;&lt;P&gt;Next, you will need to be sure and set your build order on your solution so that if you pull everything back down from source control...clear out the build folder, etc. it will build in the proper order so that when the dependent assemblies are built before they are needed as a reference, etc.</description><pubDate>Tue, 06 May 2008 14:50:05 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16206.aspx</link><description>[quote]We generally break our solutions apart when they get to the 8 project level or so as many other things tend to slow down (just .NET IDE in general).[/quote]&lt;br&gt;
&lt;br&gt;
I know you covered this in class, but I recently tried it and no joy.  The problem I was having is with dependencies.  I'm having trouble figuring out how to break things up so they still compile, and it also helps me.  Could you either go over this quickly or point me to a post that I'm forgetting on how to actually do this.  An example might be useful:&lt;br&gt;
&lt;br&gt;
SampleSolution&lt;br&gt;
[codesnippet]Project                  Dependencies&lt;br&gt;
--------------       -----------------------&lt;br&gt;
BaseProject           -none-&lt;br&gt;
BOProject             BaseProject&lt;br&gt;
UIProject             BOProject, BaseProject&lt;br&gt;
SecurityProject       BOProject, BaseProject, UIProject&lt;br&gt;
SharedModule          BOProject, BaseProject, UIProject, SecurityProject&lt;br&gt;
AppModuleOne          BOProject, BaseProject, UIProject, SecurityProject&lt;br&gt;
AppModuleTwo          BOProject, BaseProject, UIProject, SecurityProject, SharedModule&lt;br&gt;
AppModuleThree        BOProject, BaseProject, UIProject, SecurityProject, SharedModule, AppModuleTwo&lt;br&gt;
AppModuleFour         BOProject, BaseProject, UIProject, SecurityProject, SharedModule, AppModuleTwo&lt;br&gt;
AppExec               BOProject, BaseProject, UIProject, SecurityProject, SharedModule, AppModuleOne-Four[/codesnippet]&lt;br&gt;
&lt;br&gt;
Any suggestions would be helpful!  Thanks!&lt;br&gt;
&lt;br&gt;
(Sorry for the lame question...I'm still learning :D)</description><pubDate>Tue, 06 May 2008 14:42:47 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16204.aspx</link><description>[quote][b]Having an option may be something we consider in the future, but I am curious how many projects you actually have in your solution.[/quote]&lt;/P&gt;&lt;P&gt;Currently, we have approximately 40 projects in the solution.&amp;nbsp; Only about a third of these contain BOs.</description><pubDate>Tue, 06 May 2008 14:24:28 GMT</pubDate><dc:creator>Randy Ayers</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16193.aspx</link><description>[quote]&lt;SPAN id=ctl02_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl07_lblFullMessage&gt;Is there a way to mark specific projects to be skipped when the Business Object Mapper is populating the projects within my solution?&lt;/SPAN&gt;[/quote]&lt;/P&gt;&lt;P&gt;At present, no.&amp;nbsp; It depends on what you are doing with your solutions.&amp;nbsp; We generally break our solutions apart when they get to the 8 project level or so as many other things tend to slow down (just .NET IDE in general).&amp;nbsp; I would be curious how many projects you have in your solution because we have some extremely massive solutions with BOs strewn through multiple projects and the BOM comes up in just a few seconds.&amp;nbsp; Unless you have just some insane number of projects, the loading should be farily consistent in speed when coming up just due to the nature of how we enumerate the projects and class types through the DTE.&lt;/P&gt;&lt;P&gt;Having an option may be something we consider in the future, but I am curious how many projects you actually have in your solution.</description><pubDate>Tue, 06 May 2008 13:33:10 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16189.aspx</link><description>That approach may still cause the BOM to walk the projects in order to&amp;nbsp;find BOs with that flag set.&amp;nbsp; It may be better to have a setting in the BOM that allows the user to point the BOM to the BO project(s).</description><pubDate>Tue, 06 May 2008 13:18:18 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16188.aspx</link><description>[quote][b]Bill Cunnien (05/06/2008)[/b][hr]Perhaps, SF could give us the option of specifying a project for the BOM in a given solution.&amp;nbsp;Bill[/quote]&lt;/P&gt;&lt;P&gt;A&amp;nbsp;property in the BO "IncludeInBOM"&amp;nbsp;which we can make it True/False in the designer may do the trick.</description><pubDate>Tue, 06 May 2008 13:12:29 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Business Object Mapper - Populating Projects</title><link>http://forum.strataframe.net/FindPost16184.aspx</link><description>[quote]mark specific projects to be skipped[/quote]&lt;/P&gt;&lt;P&gt;As far as&amp;nbsp;I know the BOM works within a solution...it walks all projects in a solution to find potential BOs.&amp;nbsp; I suppose you could break out your business object project&amp;nbsp;into a separate solution.&amp;nbsp; I have got nine projects in my current SF solution.&amp;nbsp; It is already a bit slow waiting for the list to populate.&amp;nbsp; I will be adding more in the near future.&amp;nbsp; Perhaps, SF could give us the option of specifying a project for the BOM in a given solution.&amp;nbsp; I would expect that to be a rather easy update.&lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Tue, 06 May 2008 12:57:11 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>