I have a C# application which uses the LibUsbDotNet nuget package to talk to an Android device via USB. The application runs just fine on any of our developer machines with Visual Studio installed (I'm referring to the EXE run out of a zip of the 'Release' folder from Visual Studio), but not on any machine without Visual Studio installed. I've tried to make sure the dotnet frameworks which are installed on my development machine are also installed on the machines which 'do not' have visual studio installed. The application was running fine on non-dev machines before adding the LibUsbDotNet nuget package. I believe there's probably a missing dependency, and I was thinking it was something I could force the IDE to include when I build the release. I haven't had much luck tough, and I'd appreciate any help anyone could provide.
In the 'PackageReference' section of the csproj file, for LibUsbDotNet, I've set the IncludeAssests, PrivateAssets and Pack tags as so:
PackageReference Include="LibUsbDotNet" Version="2.2.29" IncludeAssests="all" PrivateAssets="all" Pack="true"
I've also matched the dotnet Frameworks on the target deployment machine to what is on my dev-machine.