I'd like to embed a platform-specific manifest file in my C# app. Is there an easy way to do this in Visual Studio 2008 without using some external script called after the build is finished?
In creating a C# app, the configuration and platform dropdowns are disabled for the Application tab, preventing me from selecting an architecture or configuration specific manifest to embed to that app. I'm forced to use one manifest for the whole application.
I thought of using a Post Build event to call a little script to embed the right manifest based on the $(Configuration)
macro variable, and it works, but I want to do this without calling into some other script and I want to know if it's possible to do without using Build Events.
Can I embed the x86 and x64 assembly references in the same manifest file and the run time will just load the correct one?