Packaging LAME.exe with a C# project

Posted by user347821 on Stack Overflow See other posts from Stack Overflow or by user347821
Published on 2010-05-22T14:41:30Z Indexed on 2010/05/22 14:50 UTC
Read the original article Hit count: 345

Filed under:
|
|

Please forgive my noob-ness on this, but how do I package LAME.exe w/ a C# setup project? Currently, I have LAME being called like:

//use stringbuilder to create arguments    
var psinfo = new ProcessStartInfo( @"lame.exe")
    {
         Arguments = sb.ToString(),
         WorkingDirectory = Application.StartupPath,
         WindowStyle = ProcessWindowStyle.Hidden 
    };
var p = Process.Start( psinfo );
p.WaitForExit();

This works in debug and release modes on the development machine, but when I create a setup project for this, it never creates the MP3. LAME and the compiled code reside in the same directory when installed. Help!

© Stack Overflow or respective owner

Related posts about c#

Related posts about mp3