How to create a site that references the Orchard Core source code? #10588
-
What is the best way to create a site that references the Orchard Core source code instead of NuGet packages? I know I could clone the source code and just add my web project and any themes and modules to that Orchard Core solution but that doesn't seem like the best option because I need my projects in there own separate folder and git repository. I also may have multiple sites that use orchard and want them to all reference the same source code for orchard. The other way I thought of was to create my Visual Studio solution as usual, and then use the "Add Existing Project" of visual studio to add all the orchard projects but that's a lot of projects to add. Is there any better way of doing this? My main reasons for wanting this so when debugging I can step through the source and if I contribute to Orchard Core I don't have to wait for it to be approved and released to use my changes. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 22 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
-
I found how to add a reference to an entire solution here: Here are the steps for future reference:
|
Beta Was this translation helpful? Give feedback.
-
We are supposed to host the source code through Nuget packages symbols server. It probably doesn't work yet. |
Beta Was this translation helpful? Give feedback.
-
I found a simple and fast way. Replace DLL & PDB files, and Use attach to process |
Beta Was this translation helpful? Give feedback.
-
You could always use a git submodule to get the source code into your repo. From there it should be relatively easy to add project references as you normally would. |
Beta Was this translation helpful? Give feedback.
We are supposed to host the source code through Nuget packages symbols server. It probably doesn't work yet.
But using source code directly is also a solution for now.