M
Memo from CR
Guest
VS2017 Fakes fails to generate fakes dell for System.dll with error "No suitable method to override"
These are the two errors:
Severity Code Description Project File Line Suppression State
Error CS0115 'StubX509Certificate2.GetCertHash(HashAlgorithmName)': no suitable method found to override [C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\objd\i386\Fakes\s\f.csproj] Helpers.UnitTest C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\f.cs 129016 Active
Error CS0115 'StubX509Certificate2.GetCertHashString(HashAlgorithmName)': no suitable method found to override [C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\objd\i386\Fakes\s\f.csproj] Helpers.UnitTest C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\f.cs 129073 Active
I am using VS2017 with .Net Framework 4.7.2
Memo from CR
Continue reading...
These are the two errors:
Severity Code Description Project File Line Suppression State
Error CS0115 'StubX509Certificate2.GetCertHash(HashAlgorithmName)': no suitable method found to override [C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\objd\i386\Fakes\s\f.csproj] Helpers.UnitTest C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\f.cs 129016 Active
Error CS0115 'StubX509Certificate2.GetCertHashString(HashAlgorithmName)': no suitable method found to override [C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\objd\i386\Fakes\s\f.csproj] Helpers.UnitTest C:\rdnext\EngSys\MDA\OBO\src\Common\Helpers.UnitTest\f.cs 129073 Active
I am using VS2017 with .Net Framework 4.7.2
Memo from CR
Continue reading...