locked
TFS Build failing with VS version 2015(tasks not exist in namespace) RRS feed

  • Question

  • Hi,

    TFS Build failing with vs 2015 version.Working fine with vs 2013 version.

    Below error message with vs 2015 in TFS 2015.I am using visual studio build task.With vs 2013 build is working fine.

    .Error CS0234: The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading'

    Tuesday, November 28, 2017 5:13 AM

All replies

  • Hi,

    Are you able to run your project in VS 2015 locally?

    Before queuing TFS build, make sure the project can work locally in VS 2015. You could try to build your project in VS 2015 locally by removing and re-adding the assemblies to see whether the issue persists, also, please check the website below to see whether it helps you:

    https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0234

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" 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

    Wednesday, November 29, 2017 2:32 AM