When building a SharpDX .Net Standard Class Library referencing any of the SharpDX NuGet packages, the SharpDX DLL files are not copied into the build output. This results in the assembly not being found at run time throwing an exception. e.g.
System.IO.FileNotFoundException: 'Could not load file or assembly 'SharpDX.Mathematics, Version=4.2.0.0'
Expected behavior
The SharpDX library files are copied into the build output and no run time exception is thrown.
Minimal reproduction of the problem with instructions
Create a new NetStandard 2.0 Class Library project in Visual Studio 2017
Add the SharpDXNuGet packages to the project
Instantiate a class from SharpDX (e.g. SharpDX.Direct3D11.Device) in the library code
Build the solution
Environment
SharpDX version: 4.2.0
NetStandard Version: 2.0
Platform: Windows
I'm submitting a...
[ ] Regression [X] Bug report [ ] Performance issue [ ] Feature request [ ] Documentation issue or request
Current behavior
When building a SharpDX .Net Standard Class Library referencing any of the SharpDX NuGet packages, the SharpDX DLL files are not copied into the build output. This results in the assembly not being found at run time throwing an exception. e.g.
Expected behavior
The SharpDX library files are copied into the build output and no run time exception is thrown.
Minimal reproduction of the problem with instructions
Environment