Reputation: 35434
I've read MSBuild Command-Line Reference at MSDN (the /logger
parameter), but it is absolutely not clear enough. I need a list of available arguments for file logger.
Upvotes: 9
Views: 7642
Reputation: 44342
Here are the parameters for MSBuild 3.5
I took this from my book Inside the Microsoft Build Engine : Using MSBuild and Team Foundation Build.
Upvotes: 20
Reputation: 49990
The /logger parameter is useful if you want to specify a custom logger. In your case you just have to use the include file logger.
msbuild /fileLogger
This command logs the build output to a single file ("msbuild.log") in the current directory.
If you want to specify the directory use this command :
msbuild /fileLogger /fileLoggerParameters:LogFile=MyLog.log;Append;Verbosity=diagnostic;Encoding=UTF-8
Upvotes: 10