web app compilation using msbuild.exe

Hi there,
I use a .bat file for compilation of my web app,which has following
C:\Windows\Microsoft.NET\Framework\V2.0.50727\msbuild.exe xyz.proj

Now can anyone tell me how do change the above lines so that i can do it in debug mode...also i want to get .pdb files in my bin folder do i get that?
Prompt reply would be appreciated.
Who is Participating?
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
To compile in debug mode you would use something like:

   msbuild yourProject.csproj /p:Configuration=Debug
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.