{"action":"created","issue":{"url":"https://api.github.com/repos/sharpdx/SharpDX/issues/538","labels_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/538/comments","events_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/538/events","html_url":"https://github.com/sharpdx/SharpDX/issues/538","id":55367666,"number":538,"title":"Exception SharpDX.Xaudio2 on windows 8","user":{"login":"arsenium","id":10683163,"avatar_url":"https://avatars.githubusercontent.com/u/10683163?v=3","gravatar_id":"","url":"https://api.github.com/users/arsenium","html_url":"https://github.com/arsenium","followers_url":"https://api.github.com/users/arsenium/followers","following_url":"https://api.github.com/users/arsenium/following{/other_user}","gists_url":"https://api.github.com/users/arsenium/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenium/subscriptions","organizations_url":"https://api.github.com/users/arsenium/orgs","repos_url":"https://api.github.com/users/arsenium/repos","events_url":"https://api.github.com/users/arsenium/events{/privacy}","received_events_url":"https://api.github.com/users/arsenium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-24T11:13:30Z","updated_at":"2015-03-29T16:52:40Z","closed_at":null,"body":"Hi! Current status:\r\nWindows 8 + Visual Studio 2012 express for Windows 8.\r\nSharpDX 2.6.3.\r\nI`m install SharpDX.XAudio2 from nuget: Install-Package SharpDX.XAudio2\r\nCreate simple Windows 8 Metro app and simple class SoundEffect:\r\n\r\n public class SoundEffect\r\n    {\r\n        readonly XAudio2 _xaudio;\r\n        readonly WaveFormat _waveFormat;\r\n        readonly AudioBuffer _buffer;\r\n        readonly SoundStream _soundstream;\r\n        SourceVoice sourceVoice;\r\n\r\n        public SoundEffect(string soundFxPath)\r\n        {\r\n            _xaudio = new XAudio2();\r\n            var masteringsound = new MasteringVoice(_xaudio);\r\n\r\n            var nativefilestream = new NativeFileStream(\r\n            soundFxPath,\r\n            NativeFileMode.Open,\r\n            NativeFileAccess.Read,\r\n            NativeFileShare.Read);\r\n\r\n            _soundstream = new SoundStream(nativefilestream);\r\n            _waveFormat = _soundstream.Format;\r\n            _buffer = new AudioBuffer\r\n            {\r\n                Stream = _soundstream.ToDataStream(),\r\n                AudioBytes = (int)_soundstream.Length,\r\n                Flags = BufferFlags.EndOfStream\r\n            };\r\n\r\n            sourceVoice = new SourceVoice(_xaudio, _waveFormat, true);\r\n            sourceVoice.SubmitSourceBuffer(_buffer, _soundstream.DecodedPacketsInfo);\r\n        }\r\n\r\n        public void Play()\r\n        {\r\n            \r\n            sourceVoice.Start();\r\n            \r\n        }\r\n        public void Stop()\r\n        {\r\n            sourceVoice.Stop();\r\n        }\r\n    }\r\n\r\nMy problem:\r\nhttp://i.imgur.com/XPr0UrW.png\r\nThe primary reference \"SharpDX\" could not be resolved because it has an indirect dependency on the .NET Framework assembly \"System.Runtime, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" which has a higher version \"4.0.10.0\" than the version \"4.0.0.0\" in the current target framework.\r\n\r\nMy TargetPlatform .NETCore,Version=v4.5.\r\nWhy can occur such error?"},"comment":{"url":"https://api.github.com/repos/sharpdx/SharpDX/issues/comments/87443009","html_url":"https://github.com/sharpdx/SharpDX/issues/538#issuecomment-87443009","issue_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/538","id":87443009,"user":{"login":"pjmagee","id":292720,"avatar_url":"https://avatars.githubusercontent.com/u/292720?v=3","gravatar_id":"","url":"https://api.github.com/users/pjmagee","html_url":"https://github.com/pjmagee","followers_url":"https://api.github.com/users/pjmagee/followers","following_url":"https://api.github.com/users/pjmagee/following{/other_user}","gists_url":"https://api.github.com/users/pjmagee/gists{/gist_id}","starred_url":"https://api.github.com/users/pjmagee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjmagee/subscriptions","organizations_url":"https://api.github.com/users/pjmagee/orgs","repos_url":"https://api.github.com/users/pjmagee/repos","events_url":"https://api.github.com/users/pjmagee/events{/privacy}","received_events_url":"https://api.github.com/users/pjmagee/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T16:52:40Z","updated_at":"2015-03-29T16:52:40Z","body":"I had issues using the Non-signed libraries. Try replacing with the signed dll's "}}