Hi Guys, How to enable logging in msbuild. My build is failing, I don't know why. Is there any property needs to be set in property group.
A:
What kind of Continous integration environment are you using if you using an Cruisecontrol.NET, there is a XMLLogger, which can do the trick for you. but if you want to enable logging in your MSBuild script then http://msdn.microsoft.com/en-us/library/ms171470.aspx should do the trick for you.
ManojTrek
2010-05-23 22:50:08
NO im not using CCnET, I am using MSBuild using Visual studio instead of command line
alice7
2010-05-24 15:01:18
+1
A:
Within Visual Studio
You can view the log in the Output
view with Show output from:
set on Build
.
To configure the verbosity go to Tools > Options... > Projects and Solutions > Build and run
FileLogger
You could use the MSBuild FileLogger
like that :
msbuild.exe /fileLogger /fileloggerparameters:LogFile=[Path_to_log_file];Verbosity=[minimal/normal/detailed/diagnostic]
More info on MSDN.
madgnome
2010-05-24 05:55:15