Use csc.exe to compile "Embedded Resource"

G

Guest

Need help! I have a project with one crystal report. How can I compile it
with csc.exe. I have tried the following command line .it compile
successfully..but when I run, it display error 'Unable to find the report in
the manifest resources'.

csc.exe /target:exe /resource:source\abc.rpt,abcsystem.abc.rpt
/lib:"C:\Program Files\Common Files\Crystal Decisions\1.1\Managed"
/r:CrystalDecisions.CrystalReports.Engine.dll;CrystalDecisions.ReportSource.dll;CrystalDecisions.Shared.dll /out:abc.exe source\*.cs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top