Embedded Resources

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Todd Acheson (tacheson_at_questared.com)
Date: 03/15/05


Date: Tue, 15 Mar 2005 14:37:09 -0600

I'm looking for the correct way to use the command line compiler for VB.NET
to embed an "XML" type of rext file into an assembly. My file extension is
"RPX", which is a DataDynamics Active Report file.

All documentation I can find points to having either a RESX or a TXT file,
using RESGEN to make a resources file, and then attaching that file with the
/res: command line switch.

Yet, when I create a project in Visual Studio 2003, include some RPX files
as embedded resources and run the solution, the files are embedded without
being converted to resources??

I run ILDASM and peek at the manifest of my visual studio compiled assembly.
I see some public RPX files listed with the RPX extension.

Can anyone divulge the secret of how to do this with the command line
compiler and achieve the same output as what Visual Studio creates?

Thanks!

-- 
Todd Acheson


Relevant Pages

  • Re: Learning with command-line vs IDE
    ... learn the fundamentals using the command-line compiler and a simple ... Visual Studio 6.0 at home and it is Pre dotnet. ... but a true editor is nice) ... Forms from the command line as well. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Command line compiler
    ... so that these two commands run each time I open a new command prompt. ... At work I have Visual Studio 2003 version 7.1.3088. ... I've read that there's a command line VC++ compiler called cl.exe, ...
    (microsoft.public.vc.mfc)
  • Command line compiler
    ... I'm a GNU/Linux developer trying to get comfortable with developing on the ... At work I have Visual Studio 2003 version 7.1.3088. ... I've read that there's a command line VC++ compiler called cl.exe, ...
    (microsoft.public.vc.mfc)
  • Visual studio 2003 .NET versus its own Command Prompt
    ... command line compiler which cames with it. ... rep and he said he could comile from the Visual Studio w no prob). ... interface of the working package? ...
    (microsoft.public.vc.language)
  • Re: Embedded Resources
    ... I just used the command line switch: ... > Yet, when I create a project in Visual Studio 2003, include some RPX files ... > as embedded resources and run the solution, ... > I see some public RPX files listed with the RPX extension. ...
    (microsoft.public.dotnet.framework)