G
Guest
I have an unmanaged dll that I need to include as part of a managed assembly
(it provides functionality that I use via p/invoke).
I came across a blog entry called "Versioning/Deploying unmanaged files" at
http://blogs.msdn.com/suzcook/archive/2004/10/28/249280.aspx , which allows
me to do just this.
However, the above requires compiling from the command line (using csc's
"/linkresource" switch). I'd _much_ prefer getting it to work from within
Visual Studio. I can manually modify "Microsoft.CSharp.targets" to include a
"LinkResource=$(MyProp)" attribute on the main Csc task element, but that
would require me to modify any machine that builds my assembly (I think?).
I was hoping it would be possible to create a self contained project file
that "just works". Does anyone know of a way?
Thanks for any insight,
John
msdnnewsgroups at johnburnett dot com
(it provides functionality that I use via p/invoke).
I came across a blog entry called "Versioning/Deploying unmanaged files" at
http://blogs.msdn.com/suzcook/archive/2004/10/28/249280.aspx , which allows
me to do just this.
However, the above requires compiling from the command line (using csc's
"/linkresource" switch). I'd _much_ prefer getting it to work from within
Visual Studio. I can manually modify "Microsoft.CSharp.targets" to include a
"LinkResource=$(MyProp)" attribute on the main Csc task element, but that
would require me to modify any machine that builds my assembly (I think?).
I was hoping it would be possible to create a self contained project file
that "just works". Does anyone know of a way?
Thanks for any insight,
John
msdnnewsgroups at johnburnett dot com