I’m new to MSBuild and I try to use XMLFileLogger for logging build at diagnostic level.
- building on WinXpSP3 x86.
- using .Net Framework v4.0.30319
- MSBuild Extension Pack v188.8.131.52 (installed in default location - MSBuild Extension Pack Help (v184.108.40.206) )
I start build from following batch file:
set extensionpack=C:\Program Files\MSBuild\ExtensionPack\4.0
msbuild.exe /l:XmlFileLogger,"%extensionpack%\MSBuild.ExtensionPack.Loggers.dll";logfile=build.xml;verbosity=diagnostic;encoding=utf-8 helloItem.xml
I get following output with error:
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.239]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
MSBUILD : error MSB4016: The build stopped unexpectedly because the "ReusableLogger" logger failed unexpectedly during initialization. Requested value 'diagnostic' was not found.
Has anyone idea what I’m doing wrong?