Skip to content

Not able to connect to RobotStudio with VS 2017 #6

@mjkoehle

Description

@mjkoehle

When trying to connect with RobotStudio using arm.Connect(); fails with:

System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'ABB.Robotics.Controllers.PC, Version=6.5.7392.129, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Source=Machina
StackTrace:
at Machina.Drivers.Communication.RobotStudioManager.LoadController(Int32 controllerID)
at Machina.Drivers.Communication.RobotStudioManager.Connect(Int32 deviceId)
at Machina.Drivers.DriverABB.ConnectToDevice(Int32 deviceId)
at Machina.Control.ConnectToDevice(Int32 robotId)
at testMachinaApp.Program.Main(String[] args) in C:...\testMachinaApp\Program.cs:line 20

This is with VS 2017, using framework .NET Core 2.1. With VS 2015 and .NET framework 4.6.1, there is no issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions