sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.68k stars 641 forks source link

[NuGet] SharpDX DLLs are not copied into the build folder. #1079

Open buzzytom opened 5 years ago

buzzytom commented 5 years ago

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.

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

Environment

SharpDX version: 4.2.0 NetStandard Version: 2.0 Platform: Windows