Embedded Resources

  • Thread starter Thread starter Todd Acheson
  • Start date Start date
T

Todd Acheson

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!
 
I have solved my own problem.

I just used the command line switch:
/res:<filename>.rpx
and the file gets embedded as is.

So simple and obvious I could just spit. I think I will.
 
Back
Top