Skip to content

Build Issues

Christian Findlay edited this page Aug 3, 2019 · 13 revisions

If you have any problems getting the samples to build or run, here are some general tips.

This is what I recommend trying first:

  • Update Visual Studio 2017 to the latest version
  • Ensure that all of the Xamarin components for Visual Studio are installed.
  • Release will not build unless you turn off signing on each project that has signing.
  1. Pull latest on master (outside of Visual Studio - Leave it closed until the last step)
  2. Clear NuGet cache
  3. Make sure you have no uncommitted changes.
  4. Do a Git clean on the repo. Make sure you remove all untracked files.

git clean -x -f -d

  1. Open Visual Studio and open the appropriate solution in the src folder.
  2. Make sure you are in _Debug _build mode.
  3. Restore NuGet packages. Make sure that all packages are restored before trying to build.
  4. Try building in Debug again
  5. Repeat from step 1 with develop branch. Note: from time to time, the develop branch will be slightly out from the master branch. It's worth trying both.
  • If you do still get an error, please document it up with as much detail, and put a question on Stack Overflow. Tag it with "usb, hid", mention "Device.Net" and any tags for your OS etc.
  • If you do put a question on Stack Overflow, please reference it in an issue on this repo.
Clone this wiki locally