TFS build automation error RRS feed

  • Question

  • Hi,

    while creating a TFS Build, I am getting <g class="gr_ gr_86 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar replaceWithoutSep" data-gr-id="86" id="86">below</g> error. Please suggest a solution for this.

    $/XYZ.PDA/PDA.CODE/PDA_R3.3_and_code_split/XYZ.RMR.PDA/TCS.RMG.PDA.ErrorHandler/XYZ.RMR.PDA.ErrorHandler.csproj - 1 error(s), 1 warning(s), View Log File
     c:\Builds\1\RMR.PDA\Test-PDA Solution\Sources\PDA.CODE\PDA_R3.3_and_code_split\test6\XYZ.RMR.PDA\COMMON\Libraries\Microsoft.ServiceBus.DLL: An assembly with the same identity 'Microsoft.ServiceBus, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has already been imported. Try removing one of the duplicate references.
     MQUtility.cs (145): Unreachable code detected

    Thursday, March 8, 2018 12:07 PM

All replies

  • Normally, one does a full build of the solution to make sure that no build errors occur before checking-in the solution to TFS that triggered an automatic build of the solution. Did that happen? Did some programmer check-in the solution that has caused the issue?

    The TFS administrator should be able to determine who did the last check-in, looking at prior check-in(s) and  builds that were successful for the solution and pinpoint where a check-in may have been by someone checking-in a broken solution that will not build.

    The TFS admin can rollback the check-in so that the code doesn't have the build issues.

    Thursday, March 8, 2018 1:55 PM
  • Hi kailashbhar,

    How about this issue now? Does DA924x`s answer resolve your question?

    This forum is about the MSBuild (Discuss the Microsoft build engine aka MSBuild. Topics including: usage of MSBuild, build customization, and MSBuild extensibility via tasks, loggers and hosting.) as your issue is more related to the TFS, I suggest that you can open a new thread on stackoverflow with TFS tag.

    More community members and MVP forum may further look at your issue and provide more suggestions.

    If you have some MSBuild questions, please feel free to contact us. We will try our best to give you a solution.

    Thanks for your understanding and cooperation.

    MSDN Community Support Please remember to click &quot;Mark as Answer&quot; the responses that resolved your issue, and to click &quot;Unmark as Answer&quot; if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, March 16, 2018 7:41 AM