You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.
Just started using Toolkit a little bit, and have come across this error .. On the line :
GraphicsDevice d = GraphicsDevice.New(((SDKSharpDX.Window)Window).Device3D);
The following errors are given :
SharpDX.DXGI.Adaptor1 is defined in an assembly that is not referenced.
SharpDX.DXGI.Factory1 is defined in an assembly that is not referenced.
This is the ToolKit GraphicsDevice. And ive checked its meta-data and sure enough, DXGI is not referenced.
Gavin
The text was updated successfully, but these errors were encountered:
Well, you have to reference assemblies yourself, because the Toolkit is using some implicit cast that are requiring these assemblies to be added to your project. There is nothing we can do about this, as this is the behavior of .NET. If you use an assembly that as using for example System.Drawing assembly in their public interface, you need to add this assembly explicitly to your project. When the toolkit is usually used, the SharpDX.targets msbuild is added at the end of a csproj file, and this file is adding explicitly these assemblies.
Hi,
Just started using Toolkit a little bit, and have come across this error .. On the line :
GraphicsDevice d = GraphicsDevice.New(((SDKSharpDX.Window)Window).Device3D);
The following errors are given :
SharpDX.DXGI.Adaptor1 is defined in an assembly that is not referenced.
SharpDX.DXGI.Factory1 is defined in an assembly that is not referenced.
This is the ToolKit GraphicsDevice. And ive checked its meta-data and sure enough, DXGI is not referenced.
Gavin
The text was updated successfully, but these errors were encountered: