Solution in TFS Build pipeline getting failed RRS feed

  • General discussion

  • I have a solution with .net framework 4.6.1 and using visual studio 2019 i can successfully build the solution. When the solution is checked on to the TFS and using TFS Build pipeline to build project the build task is getting failed. (agent is configured in the same machine only where i have visual studio 2019)

    One of Error displayed are as follows:

    error CS1056 : Unexpected character '$'  actually the code at this line is like this

    var value = $" value of {rootpath} ";

    for other few line the unexpected characters are '{' , '=>' , '}'

    Can anyone help me on this ?

    Thursday, April 2, 2020 4:28 PM

All replies