Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Please exclude LibTiff from Cocos2d WinRT project #143

Closed
alexsorokoletov opened this issue Aug 7, 2013 · 2 comments
Closed

Please exclude LibTiff from Cocos2d WinRT project #143

alexsorokoletov opened this issue Aug 7, 2013 · 2 comments

Comments

@alexsorokoletov
Copy link

This DLL is not required for Cocos2d.WinRT to build but having this dll referenced fails certification (WACK tool)

Error Found: The supported APIs test detected the following errors:◦API System.IO.FileMode in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.FileAccess in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.File in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.FileStream in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.FileShare in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.Console in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.Text.Encoding.GetString(System.Byte[]) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.File.Open(System.String,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.File.Open(System.String,System.IO.FileMode,System.IO.FileAccess) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.Stream.Close in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.Console.WriteLine(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.Console.get_Error in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.TextWriter.Write(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. BitMiracle.LibTiff.NET.dll calls this API.
◦API System.IO.FileInfo in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileStream in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileSystemInfo in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileAttributes in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.DirectoryInfo in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileMode in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileAccess in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileShare in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Directory in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.PathTooLongException in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileInfo.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileSystemInfo.get_Exists in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileSystemInfo.get_CreationTime in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileSystemInfo.get_LastAccessTime in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileSystemInfo.get_LastWriteTime in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileInfo.get_Length in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileSystemInfo.get_Attributes in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.DirectoryInfo.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File.Create(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File.Open(System.String,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File.Exists(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Path.GetFullPath(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Directory.Exists(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Directory.CreateDirectory(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Stream.Close in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileStream.#ctor(System.String,System.IO.FileMode,System.IO.FileAccess) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.String.Format(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.FileStream.get_Name in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File.Delete(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Path.GetTempFileName in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File.Move(System.String,System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.File.Copy(System.String,System.String,System.Boolean) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Path.Combine(System.String,System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.PathTooLongException.#ctor in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Directory.GetFiles(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.
◦API System.IO.Directory.GetDirectories(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. ICSharpCode.SharpZipLib.dll calls this API.

•Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.

@kjpou1
Copy link

kjpou1 commented Aug 9, 2013

This should be done now. Reference commit 6e154cf

@kjpou1 kjpou1 closed this as completed Aug 9, 2013
@alexsorokoletov
Copy link
Author

Amazing, thanks!
Actually, ICSharpCode.SharpZipLib.dll also is an issue for W8 Store apps. I excluded it locally and CCParticleSystem part that was referencing I changed to

var zipInputStream = new GZipInputStream(new MemoryStream(dataBytes));
if (zipInputStream.CanRead) {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants