MSBuild v4.0.30319 blows up when given /logger:MSBuildLoggers.dll parameter in arguments

TeamCity Enterprise Version 7.0 EAP (build 20334)
MSBuild v4.0.30319
OS: Windows XP SP3

Hi all,
I've configured a project in TeamCity with a build step Visual Studio (sln).

The build step executes the following command (broken into 3 lines for viewing convenience)

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe'

'"@D:\TeamCity\buildAgent\work\41bcae386a3fc42\MvcApplication1.sln.teamcity.msbuild.tcargs"

D:\TeamCity\buildAgent\work\41bcae386a3fc42\MvcApplication1.sln.teamcity


MSBuild crashes with internal .NET error in clr.dll (error code 80131506).

I've saved temp files ( *.tcargs and *.sln.teamcity) to reproduce the problem locally, and it turns out everything builds fine if I remove the /logger parameter from *.tcargs:

"/logger:JetBrains.BuildServer.MSBuildLoggers.MSBuildLogger,D:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MSBuildLoggers.dll"

I've checked that logger plugin dll exists.

Attaching complete *.tcargs file. Also attaching diag.txt, which is output of MSBuild when run without problematic /logger: parameter and with additional /verbosity:diag

Googled that kind of problem, no luck. Appreciate any hints on this. :x



Attachment(s):
diag.txt.zip
MvcApplication1.sln.teamcity.msbuild.tcargs.zip
2 comments
Comment actions Permalink

Thankyou for report.

Do you see any crashdump or .NET stacktrace of the failure.

Could you please add environment variable 'teamcity.agent.dotnet.debug' with value 'true' in "Properties and Environment variables" section of build configuration administraction and run the build once more. Under agent's temp folder you'll find buildTmp/TeamCity.NET folder with logs, please attach them as well.

Do you use any custom tasks for MSBuild?

0
Comment actions Permalink

The same issue is discussed at
http://youtrack.jetbrains.net/issue/TW-19554
Please vote for it

0

Please sign in to leave a comment.