Reputation: 1
i am using exiflib.dll for windows application which is downloaded from ExifLib - A Fast Exif Data Extractor for .NET 2.0+. The app was building fine in my pc.But when i tested the app with windows certification kit,it was throwing an error for not using exiflib.dll in the release mode.I am using visual studio 2012 express edition for windows 8.How to solve this issue.Can anyone find a solution for this???Thanks in advance.
Errors i got while testing the app with windows certification kit is shown below.
Supported API test
FAILED Supported APIs • Error Found:
The supported APIs test detected the following errors: ◦API System.IO.FileInfo in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
◦API System.IO.FileStream in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
◦API System.IO.FileSystemInfo in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
◦API System.IO.FileInfo.OpenRead in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
◦API System.IO.FileInfo.get_Length in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
◦API System.IO.FileSystemInfo.get_Name in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
◦API System.String.Format(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ExifLib.dll calls this API.
Debug configuration test
FAILED Debug configuration • Error Found: The debug configuration test detected the following errors: ◦The binary ExifLib.dll is built in debug mode.
• Impact if not fixed: Windows Store doesn’t allow a debug version of an app.
Upvotes: 0
Views: 678
Reputation: 1
Looks like you need to download the project from github and compile again in release mode, and add the dll to your project
github url: https://github.com/ravensorb/portable-exif-lib
Upvotes: 0