Ошибка при сборке .sln visual studio проекта на CI сервере

Добрый день, настраиваю сборку проекта на удаленном агенте Bamboo, локально проект собирается без ошибок, но на удаленном агенте в Visual studio task получаю ошибки:

build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(52,69): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\tests\TestBase.cs(64,44): error CS1056: Unexpected character '$'
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(38,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration

Загрузила также полный файл лога:

simple	28-Sep-2016 19:57:30	Build Cutwise - Selenium tests - Selenium tests #58 (CUT-ST3-ST-58) started building on agent BambooAgent
simple	28-Sep-2016 19:57:30	Remote agent on host BambooAgent
simple	28-Sep-2016 19:57:30	Build working directory is C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST
simple	28-Sep-2016 19:57:30	Executing build Cutwise - Selenium tests - Selenium tests #58 (CUT-ST3-ST-58)
simple	28-Sep-2016 19:57:30	Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple	28-Sep-2016 19:57:30	Build always requires a clean checkout
simple	28-Sep-2016 19:57:30	Cleaning build directory 'C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST'
simple	28-Sep-2016 19:57:31	Updating source code to revision: deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5
simple	28-Sep-2016 19:57:31	Creating local git repository in 'C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\.git'.
simple	28-Sep-2016 19:57:31	Initialized empty Git repository in C:/Bamboo_home/xml-data/build-dir/CUT-ST3-ST/.git/
simple	28-Sep-2016 19:57:32	Fetching 'refs/heads/master' from 'ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git'. Will try to do a shallow fetch.
simple	28-Sep-2016 19:57:32	Warning: Permanently added '[127.0.0.1]:49700' (RSA) to the list of known hosts.
simple	28-Sep-2016 19:57:34	From ssh://127.0.0.1:49700/cutwise/cutwise-selenium
simple	28-Sep-2016 19:57:34	 * [new branch]      master     -> master
simple	28-Sep-2016 19:57:34	Checking out revision deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5.
simple	28-Sep-2016 19:57:35	Already on 'master'
simple	28-Sep-2016 19:57:35	Updated source code to revision: deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5
simple	28-Sep-2016 19:57:35	Finished task 'Checkout Default Repository' with result: Success
simple	28-Sep-2016 19:57:35	Running pre-build action: VCS Version Collector
command	28-Sep-2016 19:57:35	Substituting variable: ${bamboo.build.working.directory} with C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST
simple	28-Sep-2016 19:57:35	Starting task 'NuGet packages restore' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.command'
command	28-Sep-2016 19:57:35	Beginning to execute external process for build 'Cutwise - Selenium tests - Selenium tests #58 (CUT-ST3-ST-58)'\n ... running command line: \nC:\Nu\nuget.exe restore "C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\SWD.StarterKit.sln"\n ... in: C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_33718278_git_username=\nbamboo_capability_QT551=C:\Qt\Qt5.5.1\nbamboo_repository_revision_number=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_capability_system_builder_msbuild_MSBuild_v14_0__64bit_=C:\Program Files (x86)\MSBuild\14.0\bin\amd64\MSBuild.exe\nbamboo_resultsUrl=https://octonus-teams.com/build/browse/CUT-ST3-ST-58\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_planRepository_1_name=cutwise-selenium\nbamboo_build_working_directory=C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\nbamboo_buildKey=CUT-ST3-ST\nbamboo_shortPlanName=Selenium tests\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_capability_system_jdk_JDK_1_8_0_72=C:\Java\jdk1.8.0_72\nbamboo_planRepository_name=cutwise-selenium\nbamboo_capability_system_builder_command_Paint=C:\Windows\System32\mspaint.exe\nbamboo_buildNumber=58\nbamboo_shortJobName=Selenium tests\nbamboo_buildResultsUrl=https://octonus-teams.com/build/browse/CUT-ST3-ST-58\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_capability_QT521=C:\Qt\Qt5.2.1\nbamboo_agentId=28049409\nbamboo_planName=Cutwise - Selenium tests\nbamboo_shortPlanKey=ST3\nbamboo_repository_33718278_previous_revision_number=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_shortJobKey=ST\nbamboo_repository_33718278_branch_name=master\nbamboo_planRepository_revision=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_repository_previous_revision_number=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_buildTimeStamp=2016-09-28T19:56:21.157+03:00\nbamboo_planRepository_previousRevision=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_buildResultKey=CUT-ST3-ST-58\nbamboo_capability_system_builder_command_cmd_exe=C:\Windows\System32\cmd.exe\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=Cutwise - Selenium tests - Selenium tests\nbamboo_capability_system_builder_command_nuget=C:\Nu\nuget.exe\nbamboo_repository_33718278_git_branch=master\nbamboo_planRepository_1_revision=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_capability_system_builder_testexecute_TestExecute_FromPlugIn=C:\Program Files (x86)\SmartBear\TestExecute 11\Bin\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_PATH=C:\Windows\System32\nbamboo_repository_name=cutwise-selenium\nbamboo_capability_system_builder_command_7zip=C:\Program Files (x86)\7-Zip\7z.exe\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_dependenciesDisabled=false\nbamboo_repository_33718278_git_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=C:\Bamboo_home\xml-data\build-dir\nbamboo_capability_system_git_executable=C:\Program Files\Git\cmd\git.exe\nbamboo_planRepository_1_previousRevision=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_repository_git_username=\nbamboo_planRepository_1_type=git\nbamboo_planRepository_branchName=master\nbamboo_capability_system_builder_command_TestExecute=C:\Program Files (x86)\SmartBear\TestExecute 11\Bin\TestExecute.exe\nbamboo_capability_system_jdk_JDK=C:\Java\jre1.8.0_72\nbamboo_capability_system_builder_devenv_Visual_Studio_2010=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\nbamboo_planRepository_type=git\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=durova\nbamboo_capability_system_builder_msbuild_MSBuild_v14_0__32bit_=C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe\nbamboo_repository_git_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nbamboo_working_directory=C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\nbamboo_planKey=CUT-ST3\nbamboo_repository_33718278_revision_number=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_capability_system_jdk_JDK_1_8_0_72__JRE_=C:\Java\jre1.8.0_72\nbamboo_planRepository_1_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_planRepository_username=\nbamboo_repository_33718278_name=cutwise-selenium\nbamboo_capability_system_jdk_JDK_1_8=C:\Java\jre1.8.0_72\nbamboo_capability_OSV_AutoTest=C:\Users\user\OSV\AutoTest\Recognition\Mark\nbamboo_planRepository_1_branchName=master\n
build	28-Sep-2016 19:57:36	Installing 'Selenium.WebDriver 2.53.1'.
build	28-Sep-2016 19:57:36	Installing 'NUnit 3.4.1'.
build	28-Sep-2016 19:57:36	Installing 'Selenium.Support 2.53.1'.
build	28-Sep-2016 19:57:36	Installing 'NUnit.ConsoleRunner 3.4.1'.
build	28-Sep-2016 19:57:36	Installing 'FluentAssertions 4.14.0'.
build	28-Sep-2016 19:57:36	Installing 'NUnit3TestAdapter 3.4.1'.
build	28-Sep-2016 19:57:36	Installing 'NUnit.ReSharperRunner3 3.0.12'.
build	28-Sep-2016 19:57:36	Successfully installed 'Selenium.Support 2.53.1'.
build	28-Sep-2016 19:57:36	Successfully installed 'Selenium.WebDriver 2.53.1'.
build	28-Sep-2016 19:57:36	Successfully installed 'NUnit.ReSharperRunner3 3.0.12'.
build	28-Sep-2016 19:57:36	Successfully installed 'NUnit.ConsoleRunner 3.4.1'.
build	28-Sep-2016 19:57:36	Successfully installed 'NUnit3TestAdapter 3.4.1'.
build	28-Sep-2016 19:57:36	Successfully installed 'NUnit 3.4.1'.
build	28-Sep-2016 19:57:38	Successfully installed 'FluentAssertions 4.14.0'.
simple	28-Sep-2016 19:57:38	Finished task 'NuGet packages restore' with result: Success
simple	28-Sep-2016 19:57:38	Starting task 'Visual studio' of type 'com.atlassian.bamboo.plugin.dotnet:devenv'
command	28-Sep-2016 19:57:38	Beginning to execute external process for build 'Cutwise - Selenium tests - Selenium tests #58 (CUT-ST3-ST-58)'\n ... running command line: \nC:\Bamboo_home\DotNetSupport\devenvrunner.bat C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST C:\Program Files (x86)\Microsoft Visual Studio 10.0 amd64 src\SWD.StarterKit.sln /build Release\n ... in: C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_33718278_git_username=\nbamboo_capability_QT551=C:\Qt\Qt5.5.1\nbamboo_repository_revision_number=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_capability_system_builder_msbuild_MSBuild_v14_0__64bit_=C:\Program Files (x86)\MSBuild\14.0\bin\amd64\MSBuild.exe\nbamboo_resultsUrl=https://octonus-teams.com/build/browse/CUT-ST3-ST-58\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_planRepository_1_name=cutwise-selenium\nbamboo_build_working_directory=C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\nbamboo_buildKey=CUT-ST3-ST\nbamboo_shortPlanName=Selenium tests\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_capability_system_jdk_JDK_1_8_0_72=C:\Java\jdk1.8.0_72\nbamboo_planRepository_name=cutwise-selenium\nbamboo_capability_system_builder_command_Paint=C:\Windows\System32\mspaint.exe\nbamboo_buildNumber=58\nbamboo_shortJobName=Selenium tests\nbamboo_buildResultsUrl=https://octonus-teams.com/build/browse/CUT-ST3-ST-58\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_capability_QT521=C:\Qt\Qt5.2.1\nbamboo_agentId=28049409\nbamboo_planName=Cutwise - Selenium tests\nbamboo_shortPlanKey=ST3\nbamboo_repository_33718278_previous_revision_number=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_shortJobKey=ST\nbamboo_repository_33718278_branch_name=master\nbamboo_planRepository_revision=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_repository_previous_revision_number=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_buildTimeStamp=2016-09-28T19:56:21.157+03:00\nbamboo_planRepository_previousRevision=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_buildResultKey=CUT-ST3-ST-58\nbamboo_capability_system_builder_command_cmd_exe=C:\Windows\System32\cmd.exe\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=Cutwise - Selenium tests - Selenium tests\nbamboo_capability_system_builder_command_nuget=C:\Nu\nuget.exe\nbamboo_repository_33718278_git_branch=master\nbamboo_planRepository_1_revision=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_capability_system_builder_testexecute_TestExecute_FromPlugIn=C:\Program Files (x86)\SmartBear\TestExecute 11\Bin\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_PATH=C:\Windows\System32\nbamboo_repository_name=cutwise-selenium\nbamboo_capability_system_builder_command_7zip=C:\Program Files (x86)\7-Zip\7z.exe\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_dependenciesDisabled=false\nbamboo_repository_33718278_git_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=C:\Bamboo_home\xml-data\build-dir\nbamboo_capability_system_git_executable=C:\Program Files\Git\cmd\git.exe\nbamboo_planRepository_1_previousRevision=847f573167c0f1597378c42c02d5a0503c094c8d\nbamboo_repository_git_username=\nbamboo_planRepository_1_type=git\nbamboo_planRepository_branchName=master\nbamboo_capability_system_builder_command_TestExecute=C:\Program Files (x86)\SmartBear\TestExecute 11\Bin\TestExecute.exe\nbamboo_capability_system_jdk_JDK=C:\Java\jre1.8.0_72\nbamboo_capability_system_builder_devenv_Visual_Studio_2010=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\nbamboo_planRepository_type=git\nbamboo_planRepository_1_username=\nbamboo_ManualBuildTriggerReason_userName=durova\nbamboo_capability_system_builder_msbuild_MSBuild_v14_0__32bit_=C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe\nbamboo_repository_git_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nbamboo_working_directory=C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\nbamboo_planKey=CUT-ST3\nbamboo_repository_33718278_revision_number=deb3eecf6a1ac5f75eba28892fe64a5f755e5cb5\nbamboo_capability_system_jdk_JDK_1_8_0_72__JRE_=C:\Java\jre1.8.0_72\nbamboo_planRepository_1_repositoryUrl=ssh://git@pg.octonus-teams.com:8443/cutwise/cutwise-selenium.git\nbamboo_planRepository_username=\nbamboo_repository_33718278_name=cutwise-selenium\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_command_4=C:\Nu\nuget.exe restore "C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\SWD.StarterKit.sln"\nbamboo_capability_system_jdk_JDK_1_8=C:\Java\jre1.8.0_72\nbamboo_capability_OSV_AutoTest=C:\Users\user\OSV\AutoTest\Recognition\Mark\nbamboo_planRepository_1_branchName=master\n
build	28-Sep-2016 19:57:38	"C:\Program Files (x86)\Microsoft Visual Studio 10.0" 
build	28-Sep-2016 19:57:38	
build	28-Sep-2016 19:57:38	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST>call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64 
build	28-Sep-2016 19:57:38	Setting environment for using Microsoft Visual Studio 2010 x64 tools.
build	28-Sep-2016 19:57:39	
build	28-Sep-2016 19:57:39	Microsoft (R) Visual Studio Version 10.0.30319.1.
build	28-Sep-2016 19:57:39	Copyright (C) Microsoft Corp. All rights reserved.
build	28-Sep-2016 19:57:39	------ Build started: Project: Swd.Core, Configuration: Release Any CPU ------
build	28-Sep-2016 19:57:39	  Swd.Core -> C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\bin\Swd.Core.dll
build	28-Sep-2016 19:57:39	------ Build started: Project: CutwiseSeleniumTests (CutwiseSeleniumTests\CutwiseSeleniumTests), Configuration: Release Any CPU ------
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(38,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(38,60): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(40,84): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(40,120): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(42,62): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(42,87): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(44,70): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(44,99): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(46,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(46,75): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(48,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(48,75): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(50,58): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(50,81): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(52,50): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\DiamondListingPage.cs(52,69): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\tests\TestBase.cs(64,44): error CS1056: Unexpected character '$'
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(38,44): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(38,60): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(40,84): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(40,120): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(42,62): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(42,87): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(44,70): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(44,99): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(46,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(46,75): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(48,54): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(48,75): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(50,58): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(50,81): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(52,50): error CS1519: Invalid token '=' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST\src\CutwiseSeleniumTests\model\ListingPages\JewelryListingPage.cs(52,69): error CS1519: Invalid token ';' in class, struct, or interface member declaration
build	28-Sep-2016 19:57:40	
build	28-Sep-2016 19:57:40	Compile complete -- 33 errors, 0 warnings
build	28-Sep-2016 19:57:40	========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========
simple	28-Sep-2016 19:57:40	Failing task since return code of [C:\Bamboo_home\DotNetSupport\devenvrunner.bat C:\Bamboo_home\xml-data\build-dir\CUT-ST3-ST C:\Program Files (x86)\Microsoft Visual Studio 10.0 amd64 src\SWD.StarterKit.sln /build Release] was 1 while expected 0
simple	28-Sep-2016 19:57:40	Finished task 'Visual studio' with result: Failed
simple	28-Sep-2016 19:57:40	Running post build plugin 'Docker Container Cleanup'
simple	28-Sep-2016 19:57:40	Running post build plugin 'NCover Results Collector'
simple	28-Sep-2016 19:57:40	Running post build plugin 'Clover Results Collector'
simple	28-Sep-2016 19:57:40	Running post build plugin 'npm Cache Cleanup'
simple	28-Sep-2016 19:57:40	Running post build plugin 'Artifact Copier'
simple	28-Sep-2016 19:57:40	Finalising the build...
simple	28-Sep-2016 19:57:40	Stopping timer.
simple	28-Sep-2016 19:57:40	Build CUT-ST3-ST-58 completed.
simple	28-Sep-2016 19:56:31	Running on server: post build plugin 'NCover Results Collector'
simple	28-Sep-2016 19:56:31	Running on server: post build plugin 'Build Hanging Detection Configuration'
simple	28-Sep-2016 19:56:31	Running on server: post build plugin 'Clover Delta Calculator'
simple	28-Sep-2016 19:56:31	Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple	28-Sep-2016 19:56:31	Running on server: post build plugin 'TestComplete Task JIRA updater'
simple	28-Sep-2016 19:56:31	All post build plugins have finished
simple	28-Sep-2016 19:56:31	Generating build results summary...
simple	28-Sep-2016 19:56:31	Saving build results to disk...
simple	28-Sep-2016 19:56:31	Logging substituted variables...
simple	28-Sep-2016 19:56:31	Indexing build results...
simple	28-Sep-2016 19:56:31	Finished building CUT-ST3-ST-58.

Та же фигня (настраиваю CI)/
Это происходит из-за синтаксиса C# и использования конструкции $“ываываыва” вместо String.Format(“ываываыва”).
Видимо на сервере не та версия инструментов компиляции

Я уже не помню чем закончилось это, сейчас на другом проекте… но если найдете решение, запостите его пожалуйста!

Решил…
Ход такой: %WINDIR%\Microsoft.NET\Framework.…\ - неверный компилятор в комплекте, компилится только C# 5…
Все ссылаются на Roslyn и все такое, компилятор с открытым кодом…
Также надо ставить “Visual Studio Build Tools”
Для меня: 2017, Download Visual Studio Tools - Install Free for Windows, Mac, Linux
Есть ещё Build Tools для Visual Studio 2015 https://www.microsoft.com/ru-RU/download/details.aspx?id=48159

Но это только часть айсберга, потому что Build Tools - это отдельная инструмента…
Дальше я переключил компиляцию со стандартного MSBuild на MSBuild из пакета
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
и…
ЧУДО произошло. Всего-то 5 часов форумы перекапывал. :frowning:

1 лайк