I have a project developed in 4.0 framework and it is working fine when running with visual studio. But when i execute the same project with MSBuild in command prompt , the project not getting build which shows error of "Al.exe is not found"
"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\Msbuild.exe"
The above issue occurs only if the project contains resource files and build with msbuild through command prompt.
The msbuild command runs through process start methods using the below code,
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Msbuild.exe";
psi.Arguments = "D:\Samples\Localization\cs\LocalizationDemo_2010.csproj" /p:Configuration=Release /nologo /noconlog /fileLogger /fileloggerparameters:logfile="D:\Samples\Localization\cs\build.log";
Process p = Process.Start(psi);
Please anyone help me if you have any ideas about this.
Regards,
Amal Raj