Application is VB.NET framework 4.8.
winscp.exe is 22.214.171.12443, product WinSCP version is 126.96.36.199
I am getting the error when running Visual Studio in debug mode when calling the
I used to be able to open a session connection while debugging the application without getting this error but not sure what has changed?The process cannot access the file 'C:\Users\[my username]\AppData\Local\Temp\wscp88A8.0342C81C.tmp' because it is being used by another process.'
If Not _winCpSession Is Nothing Then _winCpSession.Dispose() _winCpSession = New Session _winCpSession.Open(sessionOption) ' Error occurs on this line.