PDA

View Full Version : Running Assembly Linker from the Project


brizeka
02-23-2009, 05:53 PM
I have program (.exe) running from within a .BLD file and it in turn attempts to launch AL.exe (Assembly Linker). The attempt to execute AL.exe fails with the System.IO.FileNotFoundException. I know running the .BLD file from a VS Tools - Command Prompt will work. Instead of having each developer go through that process I was hoping for a solution from within the Visual Build Pro tool.

I have tried to create macros for FrameworkDirectory and FrameworkVersion (with the environment checkbox), but the "external program" does not recognized them as Environment Variables.

Any ideas of how I can make this work?

kinook
02-23-2009, 06:01 PM
Before the step that calls your program, add the path to al.exe to the PATH temporary macro (i.e., a Set Macro action with a value of %PATH%;c:\path\to\folder\containing_al.exe and 'Add to environment variables...' checked.