Hello people i am creating multiple word files to pdf automation project
It was working fine till now and suddenly without changin anything now this error is coming which i am not able to resolve Can someone please help me out regarding same.
Error ERROR Validation Error Compiler error(s) encountered processing expression “Path.GetFileNameWithoutExtension(item)”.
‘GetFileNameWithoutExtension’ is not a member of ‘String’. Main.xaml
@rahul.kharapkar yes that’s why the error occurred, change the variable name to paths or strPath as instead of taking the reserved keyword path (which contains getfilenamewithoutextension method) it takes Variable path(which don’t have that method).
There are lots of post similar to this one(all the solutions are also same ) please refer,