Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,330
Community Members
 
Community Events
168
Community Groups

I am facing issues with .net code compilation through MSBuild.

While i am executing, Bamboo task for code compilation through msbuild, Below message is comming-

" MSBUILD : error MSB1008: Only one project can be specified.
build    21-May-2018 11:47:24    Switch: website.publishproj "

-----------------------------------------------------------------------------------------------

simple    21-May-2018 11:47:23    Build Bamboo Evaluation - Bamboo Evaluation - Default Job #10 (BE-BE-JOB1-10) started building on agent Default Agent
simple    21-May-2018 11:47:23    
simple    21-May-2018 11:47:23    Build working directory is D:\Users\Administrator\bamboo-home\xml-data\build-dir\196609\BE-BE-JOB1
simple    21-May-2018 11:47:23    Executing build Bamboo Evaluation - Bamboo Evaluation - Default Job #10 (BE-BE-JOB1-10)
simple    21-May-2018 11:47:23    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple    21-May-2018 11:47:23    Checking out into D:\Users\Administrator\bamboo-home\xml-data\build-dir\196609\BE-BE-JOB1
simple    21-May-2018 11:47:23    Updating source code to revision: f882ac108e51fe916ede95f53cd7e6c0884327f1
simple    21-May-2018 11:47:23    Git: Updating references
simple    21-May-2018 11:47:23    Git:
simple    21-May-2018 11:47:23    Fetching '+refs/heads/master:refs/heads/master' from 'ssh://git@192.168.10.209:7999/bam/bamboo_evaluation.git'.
simple    21-May-2018 11:47:23    Checking out revision f882ac108e51fe916ede95f53cd7e6c0884327f1.
simple    21-May-2018 11:47:23    Updated source code to revision: f882ac108e51fe916ede95f53cd7e6c0884327f1
simple    21-May-2018 11:47:23    Finished task 'Checkout Default Repository' with result: Success
simple    21-May-2018 11:47:23    Running pre-build action: VCS Version Collector
simple    21-May-2018 11:47:23    Starting task 'compilation' of type 'com.atlassian.bamboo.plugin.dotnet:msbuild'
command    21-May-2018 11:47:23    Beginning to execute external process for build 'Bamboo Evaluation - Bamboo Evaluation - Default Job #10 (BE-BE-JOB1-10)'\n ... running command line: \nC:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe @C:\Program Files\Bamboo\temp\BE-BE-JOB1-10-MsBuildTaskType-3325624523496105080.rsp\n ... in: D:\Users\Administrator\bamboo-home\xml-data\build-dir\196609\BE-BE-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_resultsUrl=http://192.168.10.222:8085/browse/BE-BE-JOB1-10\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe\nbamboo_build_working_directory=D:\Users\Administrator\bamboo-home\xml-data\build-dir\196609\BE-BE-JOB1\nbamboo_planRepository_1_name=Bamboo Evaluation\nbamboo_buildKey=BE-BE-JOB1\nbamboo_repository_1277954_git_username=\nbamboo_shortPlanName=Bamboo Evaluation\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe\nbamboo_planRepository_name=Bamboo Evaluation\nbamboo_repository_1277954_branch_name=master\nbamboo_buildNumber=10\nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=http://192.168.10.222:8085/browse/BE-BE-JOB1-10\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe\nbamboo_planRepository_repositoryUrl=ssh://git@192.168.10.209:7999/bam/bamboo_evaluation.git\nbamboo_agentId=196609\nbamboo_planName=Bamboo Evaluation - Bamboo Evaluation\nbamboo_shortPlanKey=BE\nbamboo_shortJobKey=JOB1\nbamboo_planRepository_revision=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_buildTimeStamp=2018-05-21T11:47:23.074+05:30\nbamboo_repository_previous_revision_number=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_planRepository_previousRevision=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_repository_git_branch=master\nbamboo_buildResultKey=BE-BE-JOB1-10\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=Bamboo Evaluation - Bamboo Evaluation - Default Job\nbamboo_planRepository_1_revision=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe\nbamboo_capability_system_builder_nant_NAnt=C:\nant\bin\nant.exe\nbamboo_repository_name=Bamboo Evaluation\nbamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe\nbamboo_dependenciesDisabled=false\nbamboo_buildFailed=false\nbamboo_repository_1277954_git_branch=master\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=D:\Users\Administrator\bamboo-home\xml-data\build-dir\196609\nbamboo_repository_1277954_revision_number=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_repository_1277954_git_repositoryUrl=ssh://git@192.168.10.209:7999/bam/bamboo_evaluation.git\nbamboo_capability_system_jdk_JDK_1_8_0_171__JRE_=C:\Program Files\Java\jre1.8.0_171\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_repository_1277954_previous_revision_number=f882ac108e51fe916ede95f53cd7e6c0884327f1\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=C:\Program Files\Java\jre1.8.0_171\nbamboo_capability_system_builder_devenv_Visual_Studio_2013=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\nbamboo_plan_storageTag=plan-1310721\nbamboo_repository_1277954_name=Bamboo Evaluation\nbamboo_hg_cache_directory=D:\Users\Administrator\bamboo-home\xml-data\build-dir\_hg-repositories-cache\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=D:\Users\Administrator\bamboo-home\xml-data\build-dir\_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=vikas.singh@del.saviorstj.com\nbamboo_repository_git_repositoryUrl=ssh://git@192.168.10.209:7999/bam/bamboo_evaluation.git\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe\nbamboo_tmp_directory=D:\Users\Administrator\bamboo-home\temp\nbamboo_working_directory=D:\Users\Administrator\bamboo-home\xml-data\build-dir\196609\BE-BE-JOB1\nbamboo_planKey=BE-BE\nbamboo_planRepository_1_repositoryUrl=ssh://git@192.168.10.209:7999/bam/bamboo_evaluation.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=C:\Program Files\Java\jre1.8.0_171\nbamboo_planRepository_1_branchName=master\n
build    21-May-2018 11:47:24    Microsoft (R) Build Engine version 4.6.1586.0
build    21-May-2018 11:47:24    [Microsoft .NET Framework, version 4.0.30319.42000]
build    21-May-2018 11:47:24    Copyright (C) Microsoft Corporation. All rights reserved.
build    21-May-2018 11:47:24    
build    21-May-2018 11:47:24    MSBUILD : error MSB1008: Only one project can be specified.
build    21-May-2018 11:47:24    Switch: website.publishproj
build    21-May-2018 11:47:24    
build    21-May-2018 11:47:24    For switch syntax, type "MSBuild /help"
simple    21-May-2018 11:47:24    Failing task since return code of [C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe @C:\Program Files\Bamboo\temp\BE-BE-JOB1-10-MsBuildTaskType-3325624523496105080.rsp] was 1 while expected 0
simple    21-May-2018 11:47:24    Finished task 'compilation' with result: Failed
simple    21-May-2018 11:47:24    Running post build plugin 'NCover Results Collector'
simple    21-May-2018 11:47:24    Running post build plugin 'Artifact Copier'
simple    21-May-2018 11:47:24    Running post build plugin 'npm Cache Cleanup'
simple    21-May-2018 11:47:24    Running post build plugin 'Clover Results Collector'
simple    21-May-2018 11:47:24    Running post build plugin 'Docker Container Cleanup'
simple    21-May-2018 11:47:24    Finalising the build...
simple    21-May-2018 11:47:24    Stopping timer.
simple    21-May-2018 11:47:24    Build BE-BE-JOB1-10 completed.
simple    21-May-2018 11:47:24    Running on server: post build plugin 'NCover Results Collector'
simple    21-May-2018 11:47:24    Running on server: post build plugin 'Build Hanging Detection Configuration'
simple    21-May-2018 11:47:24    Running on server: post build plugin 'Clover Delta Calculator'
simple    21-May-2018 11:47:24    Running on server: post build plugin 'Maven Dependencies Postprocessor'
simple    21-May-2018 11:47:24    All post build plugins have finished
simple    21-May-2018 11:47:24    Generating build results summary...
simple    21-May-2018 11:47:24    Saving build results to disk...
simple    21-May-2018 11:47:24    Logging substituted variables...
simple    21-May-2018 11:47:24    Indexing build results...
simple    21-May-2018 11:47:24    Finished building BE-BE-JOB1-10.

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

313 views 0 7
Read article

Atlassian Community Events