473,412 Members | 5,361 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Use csc.exe to compile "Embedded Resource"

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;Cryst alDecisions.ReportSource.dll;CrystalDecisions.Shar ed.dll /out:abc.exe source\*.cs
Nov 16 '05 #1
2 7817
Take a look at al.exe (the Assembly Linker):
http://msdn.microsoft.com/library/de...ilityAlexe.asp

Robert
"Happy Li" <Happy Li@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
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;Cryst alDecisions.ReportSource.dll;CrystalDecisions.Shar ed.dll
/out:abc.exe source\*.cs

Nov 16 '05 #2
It does not work~!

"Robert Misiak" wrote:
Take a look at al.exe (the Assembly Linker):
http://msdn.microsoft.com/library/de...ilityAlexe.asp

Robert
"Happy Li" <Happy Li@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
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;Cryst alDecisions.ReportSource.dll;CrystalDecisions.Shar ed.dll
/out:abc.exe source\*.cs


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Markus Dehmann | last post by:
I'd like to process text or document templates that use "embedded C++". Here is a constructed example (the texts I have in mind are much longer and contain relatively few code blocks): ...
0
by: Morten Overgaard | last post by:
Hi Anybody knows how to save an "embedded object" from the clipboard to a file with the correct filename ( can it be extracted from the clipboard ??) And How do I do it vice versa... ...
0
by: Bartosz Milewski | last post by:
My resource file compiles correctly, but when I try to open it in VS, I get the error, "cannot find include file". The file in question is a "constant include". This is what it looks like in the rc...
2
by: Matt | last post by:
I'm working on a plug-in for an application called DesktopSideBar for Windows. It emulates to some degree the Longhorn sidebar. The SDK for DesktopSideBar supports .NET plug-in development through...
7
by: Mitchell Vincent | last post by:
I've been trying to get a standard toolbar to play nice with some nice icons that I have. When I put them on a button or anything they look perfect, but through an imagelist and on a toolbar they...
0
by: YellowFin Announcements | last post by:
Whitepaper: "Yellowfin Reporting" enables Embedded Business Intelligence -------------------------------------------------------------------------------- Embedded reports are a standard...
33
by: Snis Pilbor | last post by:
With the "as if" rule in play, doesn't that effectively render the "register" keyword completely useless? Example: I make a silly compiler which creates code that goes out of its way to take a...
4
by: Academia | last post by:
My .chm file is an embedded resource so when I use it GetManifestResourceStream returns a Stream which I convert into a temp file. Then I try Help.ShowHelp(Me, tempFileFullPath,...
0
by: xXPureXx | last post by:
The error code is as follows: "An error occurred creating the form. See Exception.InnerException for details. The error is: Corrupt .resources file. Got an unexpected EndOfStreamException while...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.