Note that there are some explanatory texts on larger screens.

plurals
  1. PONAnt + Project with GUID must be included
    primarykey
    data
    text
    <p>I just started using NAnt today, I followed some of the examples. I am having a hard time with one issue:</p> <p>Its saying: "Project with GUID '{32845370-6F32-411F-B4C5-383F9C3EDE29}' must be included for the build to work."</p> <p>Now I was able to track down the project. Here is my directory structure:</p> <p><code>c:\dev\stockclockbuild</code> -> this is where the solution and build file is located. So I run the command:</p> <pre><code>nant -buildfile:c:\dev\stockclockbuild\stocks.build </code></pre> <p>I have a project that it located in <code>c:\dev\_sharedlibs\mdrlibs</code> called "MDR.StockPlatform" which seems to get included, but within that project file I found the project (dependency) that has the GUID mentioned in the error.</p> <p>That project is called "MDR.Base" but its located in the same folder as MDR.StockPlatform. <strong>Also if I were to open this solution and build it in visual studio it builds without errors.</strong></p> <p>Here is the complete verbose output:</p> <pre><code>c:\Dev\_Misc\Tools\nAnt\bin&gt;nant -buildfile:c:\dev\stockclockbuild\stocks.build NAnt 0.92 (Build 0.92.4543.0; release; 6/9/2012) Copyright (C) 2001-2012 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///c:/dev/stockclockbuild/stocks.build Target framework: Microsoft .NET Framework 4.0 Target(s) specified: rebuild clean: build: build.stockclock: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'c:\dev\stockclockbuild\StockClock.Common\StockClock .Common.csproj'. [solution] Using MSBuild version 4.0.30319.1. [solution] Loading referenced project 'c:\dev\_SharedLibs\MDRLibs\MDR.StockPlat form\MDR.StockPlatform.csproj'. BUILD FAILED Project with GUID '{32845370-6F32-411F-B4C5-383F9C3EDE29}' must be included for the build to work. Total time: 0.6 seconds. </code></pre> <p>Here is a copy of the build file:</p> <pre><code>&lt;project name="Solution Build Example" default="rebuild"&gt; &lt;property name="configuration" value="release"/&gt; &lt;target name="clean" description="Delete all previously compiled binaries."&gt; &lt;delete&gt; &lt;fileset&gt; &lt;include name="**/bin/**" /&gt; &lt;include name="**/obj/**" /&gt; &lt;include name="**/*.suo" /&gt; &lt;include name="**/*.user" /&gt; &lt;/fileset&gt; &lt;/delete&gt; &lt;/target&gt; &lt;target name="build" description="Build all targets."&gt; &lt;call target="build.stockclock"/&gt; &lt;/target&gt; &lt;target name="rebuild" depends="clean, build" /&gt; &lt;target name="build.stockclock"&gt; &lt;solution configuration="${configuration}" solutionfile="Stockclock.sln" verbose="true"&gt; &lt;/solution&gt; &lt;/target&gt; &lt;/project&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload