Unexpected Character $

0 Answers 89 Views
General Discussions
Khushboo
Top achievements
Rank 1
Khushboo asked on 12 Sep 2023, 06:51 AM

Hello,

I have added the code -

Log.WriteLine($"UTF-8 string: {utf8String}");

 

I am getting error on compilation Error CS1056 Unexpected Character $.

Please note, I am getting this error only on one of my servers. For others same code shows no compilation error.

Machine on which I am getting the error has .Net Framework 4.6 installed. Other machines where no compilation error, .Net Framework is not installed. Please confirm what shall I do to make this code work.

Elena
Telerik team
commented on 12 Sep 2023, 12:46 PM

Hi Khushboo, 

Which is the version of Test Studio on the machine where you get the compilation error? Is it the latest available 2023.2.801?

Regards,
Elena

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Khushboo
Top achievements
Rank 1
Share this question
or