WindowsStoreプロジェクトでTagLibを使用したいのですが。TagLibは、そのdll(taglib-sharp.dll)とともに参照としてインポートされます。機能がチェックされているため、音楽フォルダー内の任意のファイルにアクセスできます。しかし、私が電話すると
TagLib.File file = TagLib.File.Create(soundFilePath, TagLib.ReadStyle.None);
次のエラーがスローされます。
System.UnauthorizedAccessException was unhandled by user code
HResult=-2147024891
Message=Access to the path 'C:\Users\Gabor\Music\_FIFA 2010 soundtracks\01. Meine Stadt - Auletta.mp3' is denied.
Source=taglib-sharp
StackTrace:
at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle)
at TagLib.File.Create(String path, String mimetype, ReadStyle propertiesStyle)
at TagLib.File.Create(String path, ReadStyle propertiesStyle)