日々精進

新しく学んだことを書き留めていきます

.NETアプリで「Unable to cast object of type 'System.Security.Cryptography.RSACng' to type 'System.Security.Cryptography.RSACryptoServiceProvider' Google.Apis.Auth.PlatformServices」エラー

原因は.NET Framework向けに書かれたコードを.NET Core環境で実行しているため。今回は結局他の理由もあり.NET Frameworkを使う方針にした。

参考:

stackoverflow.com