ReticentRobot/SnipeAgent

FileNotFound exception upon running SnipeAgent.exe

Opened this issue · 4 comments

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'SnipeSharp, Version=0.3.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at SnipeAgent.SnipeAgent.Main(String[] args)

The above exception is thrown when I try to run the exe after editing the config file as instructed.

Actually, I see that in C:\Program Files (x86)\Snipe-IT\SnipeAgent that there is a SnipeAgent.exe and a config file, but if you go one level deeper, there is another SnipeAgent.exe and config file. That one is the one to edit and run, and then it works.

Hi,
Thanks to this comment we were able to get it working.
Maybe a good idea to remove that .config file in the next release?

I'm trying to run it as you say and it keeps getting the same error @LucianTheDivine

I'm trying to run it as you say and it keeps getting the same error @LucianTheDivine

It works for me going to C:\Program Files (x86)\Snipe-IT\SnipeAgent\SnipeAgent\SnipeAgent.exe