How can I suppress the warnings generated by MS Fakes in a build ? I already edited the XML file to generate only the elements we need, but it’s not enough.
Error message
Cannot generate shim for RestServiceHelper`2+<>c: type is not supported because of internal limitations.
XML sample
<Fakes xmlns="schemas.microsoft.com/fakes/2011/"; Diagnostic="false">
<Assembly Name="Common.Api"/>
<StubGeneration>
<Clear />
</StubGeneration>
<ShimGeneration>
<Clear />
<Add FullName="RestServiceHelper" />
</ShimGeneration>
</Fakes>
I have already read this thread before asking my question: Suppressing Microsoft Fakes warnings
Thanks