Unity Windows Phone 8 Build Error in Smartfox
Posted: 19 Jan 2015, 10:37
Unity v. : 4.6.0f3
Smartfox client v. :1.5.6.0
When i try to build ,its return error :
Error building Player: Exception: Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.CryptographicBuffer` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.BinaryStringEncoding` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.CryptographicBuffer::ConvertStringToBinary(System.String,Windows.Security.Cryptography.BinaryStringEncoding)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmNames` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Md5()` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `Windows.Security.Cryptography.Core.HashAlgorithmProvider Windows.Security.Cryptography.Core.HashAlgorithmProvider::OpenAlgorithm(System.String)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.HashAlgorithmProvider::HashData(Windows.Storage.Streams.IBuffer)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.CryptographicBuffer` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `System.String Windows.Security.Cryptography.CryptographicBuffer::EncodeToHexString(Windows.Storage.Streams.IBuffer)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Smartfox client v. :1.5.6.0
When i try to build ,its return error :
Error building Player: Exception: Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.CryptographicBuffer` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.BinaryStringEncoding` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.CryptographicBuffer::ConvertStringToBinary(System.String,Windows.Security.Cryptography.BinaryStringEncoding)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmNames` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `System.String Windows.Security.Cryptography.Core.HashAlgorithmNames::get_Md5()` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `Windows.Security.Cryptography.Core.HashAlgorithmProvider Windows.Security.Cryptography.Core.HashAlgorithmProvider::OpenAlgorithm(System.String)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.Core.HashAlgorithmProvider` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `Windows.Storage.Streams.IBuffer Windows.Security.Cryptography.Core.HashAlgorithmProvider::HashData(Windows.Storage.Streams.IBuffer)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: type `Windows.Security.Cryptography.CryptographicBuffer` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).
Error: method `System.String Windows.Security.Cryptography.CryptographicBuffer::EncodeToHexString(Windows.Storage.Streams.IBuffer)` doesn't exist in target framework. It is referenced from SmartFox2X.dll at System.String Sfs2X.Util.PasswordUtil::MD5Password(System.String).