Best place to add reference from

Topics: Customizing Orchard, Writing modules
Nov 3, 2014 at 10:16 AM
hi all,
when working with orchard, where should we add reference from ?
i'm developing with full orchard.source , but when i activate resharper, my IDE begins to slow down.
So i create a new solution with only orchard.source, orchard.web, my custom modules.

But when i need dependency to other module, what is best to add the reference from ? should i add the dll from the generated bin file, or include the project of module ?
is there any difference between those two ?

Nov 3, 2014 at 8:12 PM
When working with the full source the way to go is to add project references only.
Nov 4, 2014 at 1:59 AM
thx piedone. but what if i create a new solution with only a few projects in it. should i include the dependent project to the solution or add the dll in bin folder?
Nov 4, 2014 at 11:50 AM
Yes, you should add the project to the sln. This will make sure that that project is built correctly and you'll be able to step through its code as well.
Nov 4, 2014 at 3:10 PM
right. i'm actually looking for alternatives and trying to minimize the number of loaded project. Mainly because of the IDE is getting slower, its resharper thing i quess.