In Visual Studio 2010 we have under 'tools|options|projects and solutions|build and run' (couldn't find a correct image on the internet) two options for the logging of MSBuild:
'MSBuild project build output verbosity' and 'MSBuild project build log verbosity'.
So I was hoping to be able to get a minimal build log in the output view within Visual Studio devenv (correct) while at the same time a detailed build log in some log file.
I cannot find a way to configure a build log file to appear.
Note: I do not want to configure my own MSBuild.
Log file from Visual Studio is only supported for C++ projects. You just have to work with the output window for others.
http://msdn.microsoft.com/en-us/library/b0bktkzs.aspx says:
[And the easiest way to get there is to do Project|Show all files, then go to Solution Explorer and right click to Open Folder in Windows Explorer]
EDIT: To appease our disgruntled -1er... You could obviously infer from this that you could add a
<Execute Command="notepad.exe $(IntDir)\$(MSBuildProjectName).log"/>
or similar if it needs to literally pop up, but that doesnt make sense to me.EDIT 2: EXAMPLE. Edit the .csproj file, and in the section with
-->
Change it to:
Reason I didnt expand it out is that this would get annoying quick. You could potentially put:
In your Post Build step. This would work slightly better as it would only fire when the compile has actually done something.
BTW highly recommend getting the Hashimi book - it makes all this stuff obvious and makes you give answers that assume its straightforward :P