Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do you build a Windows Workflow Project with NAnt 0.90?
    primarykey
    data
    text
    <p>I'm trying to build a Windows Workflow (WF) project using NAnt, but it doesn;t seem to be able to build the ".xoml" and ".rules" files.</p> <p>Here is the code of the csc task that I'm using:</p> <pre><code>&lt;csc debug="${build.Debug}" warninglevel="${build.WarningLevel}" target="library" output="${path::combine(build.OutputDir,assembly.Name+'.dll')}" verbose="${build.Verbose}" doc="${path::combine(build.OutputDir,assembly.Name+'.xml')}"&gt; &lt;sources basedir="${assembly.BaseDir}"&gt; &lt;include name="**/*.cs" /&gt; &lt;include name="**/*.xoml" /&gt; &lt;include name="**/*.rules" /&gt; &lt;/sources&gt; &lt;resources basedir="${assembly.BaseDir}"&gt; &lt;include name="**/*.xsd" /&gt; &lt;include name="**/*.resx" /&gt; &lt;/resources&gt; &lt;references&gt; ... &lt;/references&gt; &lt;/csc&gt; </code></pre> <p>Here's the output:</p> <blockquote> <p>Compiling 21 files to 'c:\Output\MyWorkFlowProject.dll'.</p> <p>[csc] c:\Projects\MyWorkFlowProject\AProcessFlow.xoml(1,1): error CS0116: A namespace does not directly contain members such as fields or methods</p> <p>[csc] c:\Projects\MyWorkFlowProject\BProcessFlow.xoml(1,1): error CS0116: A namespace does not directly contain members such as fields or methods</p> <p>[csc] c:\Projects\MyWorkFlowProject\CProcessFlow.rules(1,1): error CS0116: A namespace does not directly contain members such as fields or methods</p> <p>[csc] c:\Projects\MyWorkFlowProject\CProcessFlow.xoml(1,1): error CS0116: A namespace does not directly contain members such as fields or methods</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    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.
    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