Thanks for getting in touch! First of all, thanks for naming your project after me. Such an honor (People call me DAL)
If you want to avoid having Octopack create a build of Gemini.DAL, do the following:
Open you solution > On the solution explorer, right click on the solution icon (top parent item) > Manage Nuget packages for solution
On the installed packages, click con Octopack and click on Manage
A window will pop-up showing you a tree view of your solution and the projects inside. Un-check the box of your project Gemini.DAL and click OK. Wait the the uninstaller to finish and close this window
The change you just did modified a few settings on your solution, so check in your changes into source control and fire off another build.
5-Optative) You can remove the param /p:OctoPackNuSpecFileName=Gemini.Web.nuspec as it will not have any effect on this context. Octopack will pack all the projects marked on the window seen on step 3, and if they dont have a nuspec, it will create one for them.
This new build should not create a package for Gemini.DAL.
From your initial post I thought you just wanted to avoid having Octopack create a nuget package out of your project, not avoid its entire compilation. By uninstalling Octopack entirely and checking-in the changes to Source Control, your build should compile both projects, but just not create nuget packages out of them.
If what you want is to directly avoid the project compilation:
Open the solution
Click on Build on the top left corner of visual studio. Then open Configuration Manager
On the Build column uncheck the projects that you dont want to compile. Close the window and check-in changes to source control.
No worries! So after your change, it is now packing only the one project you didn’t want to pack? Is it possible you might have unchecked the wrong items?
On the attached screenshot I have a solution called OctopusConsole which has 2 projects on it: OctopusConsole & OctopusConsole2. If I want to uninstall Octopack from OctopusConsole2 to avoid creating a package out of it, that project should be the only one unchecked (as shown on the screenshot)
Sorry if that solution sounds a bit dumb, but its the most probable scenario since after your change it now only runs the DAL project.