Show / Hide Table of Contents

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

I recommend trying this first

  • Update Visual Studio 2019 to the latest version
  • Use the Visual Studio installer to install all Xamarin components
  • Make sure Visual Studio is closed
  1. Pull latest on develop (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 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.
In This Article
Back to top Generated by DocFX