Scope-IT / marksman

Windows agent for Snipe-IT asset management system
Apache License 2.0
129 stars 23 forks source link

Compile latest branch in Visual Studio failing #11

Closed boingball closed 5 years ago

boingball commented 5 years ago

I'm trying to compile Marksman on Windows using Visual Studio 2017.

However it seems that the SnipeSharp API Reference doesn't seem to match the code.

The marksman code trying to call SearchFilter / Location / Statuslabel cannot as theirs no a constructor to take 1 argument. (all the constructors take 0 arguments in the class) so error CS1729 pops up 11 times.

What SnipeShare version are you using? - I've tried each of the forked versions but can't seem to find one that makes it work.

Or do you have any Windows build instructions?

danielhogg commented 5 years ago

You are correct, Marksman is using an updated version of the SnipeSharp API.

To build Marksman, you will need to use our version of the API here.