I would like to reference a file in my project and wish to use the project location to create the filepath like: FilePath = UiPath.Constants.Project.Location + “filename.xml”
However I get this error:
Test_bench_for_ARB_getting_acc45_and_18: Could not load file or assembly ‘UiPath.Studio.Constants, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
I tried to find the relevant namespace to add it to the project, but have not succeeded.
I have to type the xml file’s full path into a ‘File Open’ dialogue which comes up when I load a new report definition file in an application which knows nothing about the UiPath project which is automating the process.
So, it’s not a save operation, it’s opening a file which is used to run a database query.