Nitin, Can you reproduce this issue using the latest nightly build (http://nant.sourceforge.net/nightly/builds) ?
If you can, please submit a detailed bug report and attach a zip file containing the minimum set of files necessary to reproduce this issue (including any non-system assemblies needed to build the solution). Thanks, Gert ----- Original Message ----- From: "Nitin Agarwal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 12:57 AM Subject: RE: [Nant-users] Building Crystal Reports using Nant I used ILDASM to compare the DLLs generated by VS.NET and NANT. I couldn't find a single difference between 2. This is when I do not use the prefix attribute for the resources tag. All the resources and other MSIL code is exactly same in both the cases. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Agarwal Sent: Tuesday, March 16, 2004 5:27 PM To: [EMAIL PROTECTED] Subject: [Nant-users] Building Crystal Reports using Nant I am building a Web project using Nant. My Web application includes some Crystal Report files (.rpt and corresponding .cs file generated by Visual Studio). I am embedding the rpt files as resource files using the <resources> tag for <cs> task. The issue is some of my reports do not work and some works after I deploy the application. But the same report files works when I build the solution using VS.NET and deploy the application. Some of the reports works fine without any issues but some reports gives the following error: InvalidCastException: Specified cast is not valid.] CrystalDecisions.Web.ReportAgentBase.m() CrystalDecisions.Web.ReportAgent.get_RequestContext() CrystalDecisions.Web.ReportAgent.get_() CrystalDecisions.Web.ReportAgent.{(Boolean E) CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) System.Web.UI.Control.PreRenderRecursiveInternal() System.Web.UI.Control.PreRenderRecursiveInternal() System.Web.UI.Control.PreRenderRecursiveInternal() System.Web.UI.Page.ProcessRequestMain() I tried adding the dynamicprefix="true" and prefix="WebUI" attributes (as suggested by Gret in one of the previous posts) to the resources tag but that doesn't help either. When I overwrite the DLLs generated Nant with the DLLs generated by the VS.Net at the deployed site, all the reports starts working. That means that the output generated by the NANT is not correct for all the reports to run. Please help! Nitin Agarwal ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users