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 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 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now