</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
- <Command>icd /D "$(ProjectDir)..\..\sofia-sip\win32\"
+ <Command>cd /D "$(ProjectDir)..\..\sofia-sip\win32\"
set AWK="$(ProjectDir)..\..\sofia-sip\win32\gawk.exe"
if not exist "$(ProjectDir)..\..\sofia-sip\libsofia-sip-ua\http\http_parser_table.c" "autogen.cmd"
if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd"
/*SoundsDir = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
SoundsDir += "\\FreeSWITCH\\sounds"; */
- SoundsDir = @"$(SolutionDir)$(Platform)\$(Configuration)\sounds";
+ string platform = (@"$(Platform)" == "x86") ? "Win32" : @"$(Platform)";
+
+ SoundsDir = @"$(SolutionDir)" + platform + @"\$(Configuration)\sounds";
Directory.CreateDirectory(SoundsDir);