Build setup for .net Projects
Accepted answer
3 other answers
Looks like the JbeMsBuildLogger.dll which is used to create the compilation logs when the MSBuild is run has a dependency on the dll 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0'. The depenecy should not be on a specific version of the .NET library. I have filed a defect 255450: MSBuild Template: MSBuild logger has a hardcoded dependency with dll 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0 to investigate this issue. Meanwhile can you please install .NET 3.5 SP1 framework in the build machine and check if this error goes away.
Thanks,
Kishore
I am able to proceed furthur, but now getting a different error.
2013-03-12 15:55:14 [Jazz build engine]
2013-03-12 15:55:14 [Jazz build engine] Substituted the following configuration element property variables:
2013-03-12 15:55:14 [Jazz build engine] com.ibm.team.build.msbuild : com.ibm.team.build.msbuild.buildItem = LoginApplication\LoginApplication.sln-E_o_T-ebug-E_o_T-Build-E_o_T--e_M_p_T_y_T_o_K_e_N--E_o_T-LoginApplication.log-E_o_T-${team.scm.fetchDestination}-E_o_B_i-WindowsApplication1\WindowsApplication1.sln-E_o_T-release-E_o_T-Build-E_o_T--e_M_p_T_y_T_o_K_e_N--E_o_T-WindowsApplication1.log-E_o_T-${team.scm.fetchDestination}-E_o_B_i- --> com.ibm.team.build.msbuild.buildItem = LoginApplication\LoginApplication.sln-E_o_T-ebug-E_o_T-Build-E_o_T--e_M_p_T_y_T_o_K_e_N--E_o_T-LoginApplication.log-E_o_T-fetched-E_o_B_i-WindowsApplication1\WindowsApplication1.sln-E_o_T-release-E_o_T-Build-E_o_T--e_M_p_T_y_T_o_K_e_N--E_o_T-WindowsApplication1.log-E_o_T-fetched-E_o_B_i-
2013-03-12 15:55:14 [Jazz build engine]
2013-03-12 15:55:14 [Jazz build engine] running on host: WindowsServ-0
2013-03-12 15:55:14 [Jazz build engine] Should build occur?
2013-03-12 15:55:14 [Jazz build engine] Yes: Always build a user initiated request.
2013-03-12 15:55:14 [Jazz build engine] Invoking pre-build participant "com.ibm.team.build.jazzscm"
2013-03-12 15:55:14 [Jazz build engine] Accepting changes into workspace "ADaaS.NetProject (Change Management) StreamBuild Workspace" ...
2013-03-12 15:55:14 [Jazz build engine] Deleting fetch destination "C:\Program Files\IBM\RTC-BuildSystem\jazz\buildsystem\buildengine\eclipse\fetched" before fetching ...
2013-03-12 15:55:14 [Jazz build engine] Fetching files to fetch destination "C:\Program Files\IBM\RTC-BuildSystem\jazz\buildsystem\buildengine\eclipse\fetched" ...
2013-03-12 15:55:16 [Jazz build engine] Invoking build participant "com.ibm.team.build.msbuild"
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.17929]
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1021: Cannot create an instance of the logger. Could not load file or assembly 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Switch: C:\Program Files\IBM\RTC-BuildSystem\jazz\buildsystem\buildengine\eclipse\configuration\org.eclipse.osgi\bundles\16\1\.cp\os\win32\x86\JbeMsBuildLogger.dll;C:\Users\Pancha\AppData\Local\Temp\3\JbeMSBuildLogs_1363083916653_1
Build failed for - "LoginApplication\LoginApplication.sln", build exited with value "1".
Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.17929]
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1021: Cannot create an instance of the logger. Could not load file or assembly 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Switch: C:\Program Files\IBM\RTC-BuildSystem\jazz\buildsystem\buildengine\eclipse\configuration\org.eclipse.osgi\bundles\16\1\.cp\os\win32\x86\JbeMsBuildLogger.dll;C:\Users\Pancha\AppData\Local\Temp\3\JbeMSBuildLogs_1363083916654_2
Build failed for - "WindowsApplication1\WindowsApplication1.sln", build exited with value "1".
Please help