Name attribute not found (wodSFTP / wodSFTP.NET / wodSFTPdll)
Any idea on why I might get this pre-compile error?
'WeOnlyDo.Client.SFTP.AttributesArgs' does not contain a definition for 'Name' and no extension method 'Name' accepting a first argument of type 'WeOnlyDo.Client.SFTP.AttributesArgs' could be found (are you missing a using directive or an assembly reference?)
The code does compile and run, and the name attribute is usable, but just can't be seen by Visual Studio.
wodSFTP.AttributesDataEvent += new WeOnlyDo.Client.SFTP.AttributesDataDelegate(wodSFTP_AttributesDataEvent);
void wodSFTP_AttributesDataEvent(object Sender, WeOnlyDo.Client.SFTP.AttributesArgs[] Args)
{
int i = 0;
int lowerB = Args.GetLowerBound(i);
int upperB = Args.GetUpperBound(i);
for (i = lowerB; i <= upperB; i++)
{
_ExistingRemoteFiles.Add(Args.Name); //Will still build and run with an error on Name
}
}
Complete thread:
- Name attribute not found - Limey, 2014-09-16, 19:16
- Name attribute not found - wodSupport, 2014-09-16, 19:17
- Name attribute not found - Limey, 2014-09-16, 19:26
- Name attribute not found - wodSupport, 2014-09-16, 20:29
- Name attribute not found - Limey, 2014-09-16, 22:06
- Name attribute not found - wodSupport, 2014-09-16, 22:07
- Name attribute not found - Limey, 2014-09-16, 22:06
- Name attribute not found - wodSupport, 2014-09-16, 20:29
- Name attribute not found - Limey, 2014-09-16, 19:26
- Name attribute not found - wodSupport, 2014-09-16, 19:17