Jump to content
Xtreme .Net Talk

VS2017 Fakes fails to generate fakes dell for System.dll with error "No suitable method found to override"


Recommended Posts

Guest Memo from CR
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...