Closed PedroAlvesq closed 9 years ago
The errors shows that you don't have reference to SharpDX DX11.2 assemblies. Check the sample and add the same references to your project. If you copied project - remove and add back SharpDX references as looks like their relative path has changed.
i using the library of sharpdx DX11 how put the sharpdx DX11.2 to
Tiled resources are supported only in DirectX 11.2. Use references from the DirectX11_2-*
folders (select either ..net40
if you target desktop or ..winrt
if you target WinRT). Also the errors indicate that there are no references to sharpdx assemblies at all or they are pointing to a wrong folder.
Sorry, but this is a local development issue, not related to SharpDX or its samples.
how put my Tiled resources use the Directx11
I am not sure I understood your question - just remove and add back the needed references to SharpDX dlls. Also keep in mind that you need to use the ones from DirectX11_2 folder - as tiled resources are not supported in earlier versions of DirectX.
2014-09-24 18:55 GMT+01:00 Pedro notifications@github.com:
how put my Tiled resources use the Directx11
— Reply to this email directly or view it on GitHub https://github.com/sharpdx/SharpDX-Samples/issues/20#issuecomment-56711595 .
i can´t use the directx 11.2 becouse i using windows 7 is any away to put my tiled Resources use Directx 11
is any away to put my tiled Resources use Directx 11
No. As Artiom said above "Tiled resources are supported only in DirectX 11.2"
i add my project the sample TiledResources and i have this error i using the Sharpdx 2.6.2 libary Error 1 The type or namespace name 'Device2' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\GraphicsDeviceManagerExtensions.cs 18 23 Central Error 2 The type or namespace name 'DeviceContext2' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\GraphicsDeviceManagerExtensions.cs 28 23 Central Error 3 The type or namespace name 'PackedMipDescription' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\ManagedTiledResource.cs 29 16 Central Error 4 The type or namespace name 'TileShape' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\ManagedTiledResource.cs 34 16 Central Error 5 The type or namespace name 'SubResourceTiling' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\ManagedTiledResource.cs 39 16 Central Error 6 The type or namespace name 'TiledResourceCoordinate' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileKey.cs 13 25 Central Error 7 The type or namespace name 'TiledResourceCoordinate' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileKey.cs 16 24 Central Error 8 Field 'TomShane.Neoforce.Central.TileKey.Coordinate' must be fully assigned before control is returned to the caller C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileKey.cs 16 16 Central Error 9 The type or namespace name 'TiledResourceCoordinate' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileMappingUpdateArguments.cs 13 30 Central Error 10 The type or namespace name 'TiledResourceCoordinate' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileMappingUpdateArguments.cs 13 78 Central Error 11 The type or namespace name 'TileRangeFlags' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileMappingUpdateArguments.cs 14 30 Central Error 12 The type or namespace name 'TileRangeFlags' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileMappingUpdateArguments.cs 14 68 Central Error 13 The type or namespace name 'SubResourceTiling' does not exist in the namespace 'SharpDX.Direct3D11' (are you missing an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileLoader.cs 18 45 Central Error 14 The type or namespace name 'SubResourceTiling' does not exist in the namespace 'SharpDX.Direct3D11' (are you missing an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileLoader.cs 39 63 Central Error 15 The type or namespace name 'TiledResourceCoordinate' does not exist in the namespace 'SharpDX.Direct3D11' (are you missing an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileLoader.cs 73 62 Central Error 16 The best overloaded method match for 'System.Threading.Tasks.TaskFactory.StartNew<byte[]>(System.Func<byte[]>)' has some invalid arguments C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileLoader.cs 75 20 Central Error 17 Argument 1: cannot convert from 'lambda expression' to 'System.Func<byte[]>' C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileLoader.cs 75 42 Central Error 18 The type or namespace name 'TiledResourceCoordinate' does not exist in the namespace 'SharpDX.Direct3D11' (are you missing an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TileLoader.cs 87 52 Central Error 19 The type or namespace name 'TiledResourceCoordinate' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TrackedTile.cs 14 25 Central Error 20 The type or namespace name 'TiledResourceCoordinate' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Terrenos\TrackedTile.cs 37 71 Central Error 21 'SharpDX.Direct3D11.Device' does not contain a definition for 'CheckD3D112Feature' and no extension method 'CheckD3D112Feature' accepting a first argument of type 'SharpDX.Direct3D11.Device' could be found (are you missing a using directive or an assembly reference?) C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Code\GameSample.cs 61 35 Central Error 22 The name 'TiledResourcesTier' does not exist in the current context C:\Users\Pedro\Dropbox\GAMES\NeoforceControls-SharpDX-master\Central\Code\GameSample.cs 63 48 Central