473,769 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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..b ut when I run, it display error 'Unable to find the report in
the manifest resources'.

csc.exe /target:exe /resource:source \abc.rpt,abcsys tem.abc.rpt
/lib:"C:\Program Files\Common Files\Crystal Decisions\1.1\M anaged"
/r:CrystalDecisi ons.CrystalRepo rts.Engine.dll; CrystalDecision s.ReportSource. dll;CrystalDeci sions.Shared.dl l /out:abc.exe source\*.cs
Nov 16 '05 #1
2 7867
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******** *************** ***********@mic rosoft.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..b ut when I run, it display error 'Unable to find the report
in
the manifest resources'.

csc.exe /target:exe /resource:source \abc.rpt,abcsys tem.abc.rpt
/lib:"C:\Program Files\Common Files\Crystal Decisions\1.1\M anaged"
/r:CrystalDecisi ons.CrystalRepo rts.Engine.dll; CrystalDecision s.ReportSource. dll;CrystalDeci sions.Shared.dl l
/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******** *************** ***********@mic rosoft.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..b ut when I run, it display error 'Unable to find the report
in
the manifest resources'.

csc.exe /target:exe /resource:source \abc.rpt,abcsys tem.abc.rpt
/lib:"C:\Program Files\Common Files\Crystal Decisions\1.1\M anaged"
/r:CrystalDecisi ons.CrystalRepo rts.Engine.dll; CrystalDecision s.ReportSource. dll;CrystalDeci sions.Shared.dl l
/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
2029
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): --------TEXT TEMPLATE-------- <CI>#include <iostream> #include "LetterDataContainer.hpp" using namespace std; LetterDataContainer d;</CI> Dear <C>if(d.isMale()) cout << "Sir";
0
3022
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... regards Morten
0
1195
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 file: //////////////////////////////////////////////////////////////////////////// / // // Generated from the TEXTINCLUDE 2 resource. // #include "buildoptions.h"
2
1795
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 COM Interop and a provided reference DLL. In the SDK are two included samples... One, called RecycleBin is written entirely in unmanaged C++ as a normal DLL. The second, StickerPanel, is written in C#. My first exercise was porting StickerPanel...
7
2942
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 all have this blue aura around them. I assume that is from the transparency, but I don't understand why almost any other control displays them properly.. There really is no replacement for the toolbar (without paying!), so I hope someone can tell...
0
2269
by: YellowFin Announcements | last post by:
Whitepaper: "Yellowfin Reporting" enables Embedded Business Intelligence -------------------------------------------------------------------------------- Embedded reports are a standard requirement of most applications. But users are increasingly demanding more sophisticated reporting from applications - seeking such features as custom report design, ad hoc report creation and analytics. Developers that want to embed business...
33
3287
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 full 10 minutes every time a "register" declared variable is read from or written to. Besides this lag, everything else runs as expected. Then my compiler is still C compliant, aye? If so, then it is unwise for any programmer to ever use the...
4
3291
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, "Shortcuts.htm") which does not work.
0
1379
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 trying to read the ResourceReader header." I've tried removing them and re-adding them and re-converting the files to Wav (I'm making a game that involves music, and I'm using the my.computer.audio.play function to play them), and that doesn't work. It...
0
10208
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9857
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6662
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5294
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3952
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3558
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2812
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.