Business Object Mapper - Populating Projects


Author
Message
Randy Ayers
Randy Ayers
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 4, Visits: 41
Is there a way to mark specific projects to be skipped when the Business Object Mapper is populating the projects within my solution?

I have many projects that will never have business objects.  This adds quite a bit of time when the Business Object Mapper is launched from within Visual Studio.

Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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).




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:



SampleSolution

Project Dependencies

-------------- -----------------------

BaseProject -none-

BOProject BaseProject

UIProject BOProject, BaseProject

SecurityProject BOProject, BaseProject, UIProject

SharedModule BOProject, BaseProject, UIProject, SecurityProject

AppModuleOne BOProject, BaseProject, UIProject, SecurityProject

AppModuleTwo BOProject, BaseProject, UIProject, SecurityProject, SharedModule

AppModuleThree BOProject, BaseProject, UIProject, SecurityProject, SharedModule, AppModuleTwo

AppModuleFour BOProject, BaseProject, UIProject, SecurityProject, SharedModule, AppModuleTwo

AppExec BOProject, BaseProject, UIProject, SecurityProject, SharedModule, AppModuleOne-Four




Any suggestions would be helpful! Thanks!



(Sorry for the lame question...I'm still learning BigGrin)
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
The problem I was having is with dependencies.

The key is not to use a project reference....that is why it breaks when you combine them into multiple solutions.  It is somewhat of a pros/cons type of approach.  What we do is have all of our application specific assemblies compile to the same output location, for example:

C:\Development\MyApplication Build

Then each of the projects reference the assembly in that build folder versus a project reference.  This will actually speed up your IDE as well...by a lot in some cases.  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.  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.

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.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Thanks Trent. I'll chew on this for a bit...
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Randy Ayers - 17 Years Ago
Bill Cunnien - 17 Years Ago
Edhy Rijo - 17 Years Ago
Bill Cunnien - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         [quote][b]Having an option may be something we consider in the future,...
Randy Ayers - 17 Years Ago
                         [quote]We generally break our solutions apart when they get to the 8...
Greg McGuffey - 17 Years Ago
                             [quote]The problem I was having is with dependencies.[/quote] The key...
Trent L. Taylor - 17 Years Ago
                                 Thanks Trent. I'll chew on this for a bit...
Greg McGuffey - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search