Embedded Resources

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!
 
T

Todd Acheson

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.
 

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