AC Posted December 19, 2015 Report Share Posted December 19, 2015 I wrote the following code in my Windows Phone Silverlight 8.1 project: internal class MD5Managed : HashAlgorithm{ private ABCDStruct _abcd; ... ... public MD5Managed() { HashSizeValue = 0x80; Initialize(); } public override sealed void Initialize() { ... ... } } As you see, I inherit System.Security.Cryptography.HashAlgorithm class.After I use "Silverlight bridge to UWP" to convert my project to uwp,the app cannot run,it shows message "The type or namespace name could not be found (are you missing a using directive or an assembly reference",What should I do? ThanksAlex Quote Link to comment Share on other sites More sharing options...
Mobilize.Net Staff Olman Posted December 22, 2015 Mobilize.Net Staff Report Share Posted December 22, 2015 Hi AC !System.Security.Cryptography namespace changed considerably between UWP and WIndows Phone SL APIs. There is not current mapping for it in the tool so you need to refactor your code in order to make it compile and run with the new API.I hope it helps you !Regards,Olman Quote Link to comment Share on other sites More sharing options...
AC Posted December 24, 2015 Author Report Share Posted December 24, 2015 Hi Olman,Thanks for your reply.Regards.Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.