RobotStudio event

FileSystem

I am trying to get the FileSystem example to work but I get the following error.

Error 1 'FileSystem' is a 'namespace' but is used like a 'type' 

The line I get the error on is:


private
FileSystem fileSystem = null;

I I change it to:


private
ABB.Robotics.Controllers.FileSystemDomain.FileSystem fileSystem = null;
Then I don't get the error.
This is everything I have included
using
System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Text;
using
System.Windows.Forms;
using
ABB.Robotics;
using
ABB.Robotics.Controllers;
using
ABB.Robotics.Controllers.Discovery;
using
ABB.Robotics.Controllers.FileSystemDomain;

Comments

  • Some sort of Namespace collision, it doesn't seem to be there in 5.09, at least for VB.
    Russell Drown
  • I noticed that my projectname was also FileSystem. When I tried it with a different project then I didn't have the problem.