I have the nant script (example below) that I am trying to run to build an Active Reports based web application. When I build in visual studio I do not have any problems with the application working.

 

When I try to do the nant build I get the following error: "Can't load report layout - resource "PrintPDFs.Reports.ReferralForm.rpx" is not available (check if renamed, moved, or deleted)."

 

It is referring to one of the report layouts in my application. The .dll sizes between visual studio compile and the nant compile are the same, so I am really confused why this doesn't work. I am still using visual studio 2003 and Active Reports .NET 2.0. Any assistance with this would be greatly appreciated!!

    <target name="compile.app" description="XXXXXX">
        <csc target="library" output="${dev}\bin\${basename}.dll" debug="${debug}">
            <sources basedir="ReportLibrary">
                <include name="${dev}\**\*.cs" />
            </sources>
            <resources basedir="ReportLibrary">
                <include name="${dev}\**\*.rpx" />
                <include name="${dev}\**\*.resx" />
            </resources>
            <references>
                <include asis="true" name="System.dll"/>
                <include asis="true" name="System.Data.dll"/>
                <include asis="true" name="System.Drawing.dll"/>
                <include asis="true" name="System.Web.dll"/>
                <include asis="true" name="System.XML.dll"/>
                <include asis="true" name="${dev}\bin\ActiveReports.dll"/>
                <include asis="true" name="${dev}\bin\ActiveReports.PdfExport.dll"/>
                <include asis="true" name="${dev}\bin\ActiveReports.Viewer.dll"/>
                <include asis="true" name="${dev}\bin\amqmdnet.dll"/>
                <include asis="true" name="${dev}\bin\xxxxx.Core.Cryptography.Tools.dll"/>
                <include asis="true" name="${dev}\bin\xxxxx.Core.Database.Tools.dll"/>
                <include asis="true" name="${dev}\bin\xxxxx.Core.Utilities.dll"/>
                <include asis="true" name="${dev}\bin\xxxxx.Core.mqseries.dll"/>
                <include asis="true" name="${dev}\bin\Interop.ActiveDs.dll"/>
                <include asis="true" name="${dev}\bin\Microsoft.ApplicationBlocks.ExceptionManagement.dll"/>
                <include asis="true" name="${dev}\bin\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll"/>
            </references>
        </csc>
    </target>

 

Confidentiality Notice:
This e-mail is intended only for the personal and confidential use of the individual to whom it is addressed and may contain information that is privileged, confidential and protected by law. If you are not the intended recipient, you are hereby notified that any use or disclosure of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and delete the original message. Your compliance is appreciated.

Reply via email to