Path.Combine error : 'path' is ambiguous

Hi,

Assignment 2 - monthly report download

Assign ReportFilePath =
path.Combine(Environment.CurrentDirectory,in_ReportsDownloadPath,“Report-”+in_TaxID+“-”+in_Year+“-”+Month.ToString+“.csv”)

Compiler error :
‘path’ is ambiguous , imported from the namespaces or types

thanks for help
George

Can you provide the values which you are trying to combine ?

See if you have the import
image

I checked , I have the import


thanks !

in_TaxID - string , in_Year - string

I replace with :
Environment.CurrentDirectory+in_ReportsDownloadPath+“\Report-”+in_TaxID+“-”+in_Year+“-”+Month.ToString+“.csv”

Type Into without SimulateType and work

1 Like

You can restart studio once and then see if the Path issue gets resolved.

I restart but the same issue ,
I made a new Worflow file and in this Path it works.

Thanks !

1 Like

great now that its working :slight_smile:

{Please close this thread marking answer as solution}

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