Hi,

I am trying to embed a resx resource during compilation, but when I try to access the resource I cannot find it (usnig the Resource Manager).  If I build the same project within DevStudio it works.  My NANT script section is below:

  <target name="Build">
    <resx input="testResources.resx"/>  
    <csc target="library" output="${output}" debug="${debug}" define="${define}" doc="${doc}">
      <arg value="${unsafe}" />
      <arg value="${checked}" />
      <sources>
        <includes name="${project.source.path}AssemblyInfo.cs" />
        <includes name="${project.source.path}ProjectReaderTestCases.cs" />
      </sources>
      <references>
        <includes name="System.dll" />
        <includes name="System.Data.dll" />
        <includes name="System.Xml.dll" />
        <includes name="${reference.path}/nunit.framework.dll" />       
      </references>             
      <resources>
        <includes name="testResources.resources"/>
      </resources>
    </csc>
  </target>

Can someone tell me what I am doing wrong? I am using the latest Stable Release, 7.9.0.

Nick.



With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

Reply via email to