Making file in current directory

Hi,
If we give a file path in read/write file. If I send .xaml file to others it will throw error.
or if in production. whats the solution. how to make it in current directory?

Use Environment.CurrentDirectory to get current directory value

1 Like

Fine
while sending xaml kindly send along with project.json file, and this is applicable if the file contained folder is inside the project
or
if its obtained from some other folder make sure that the File path is mentioned correctly defining to that path and even while mentioning the file path make sure that the file path is correctly pointing to the folder from where it has to take the file

hope this would help you
Cheers @KarthikBallary

will check and let u know ppl tomorrow,
thanks

Sure
Cheers @KarthikBallary

hii,
if I use a data scrap and if I send that o/p to python function. How do I read that in python, becoz it is not an excel


how do I fetch only rank of UT, state and HDI of 2018. pls share a file

link

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.