Wednesday, October 19, 2016

eventsourcecreatedeventargs Error in Unit test

Hi all,

If you find below error, Open Fakes Folder edit mscorlib.fakes and add the following code


<Fakes xmlns="http://schemas.microsoft.com/fakes/2011/">
  <Assembly Name="mscorlib" Version="4.0.0.0"/>
  <StubGeneration>
    <Remove FullName="System.Diagnostics.Tracing"/>
  </StubGeneration>
</Fakes>


Note :

Replace the Error (System.Diagnostics.Tracing) with the error you are getting

No comments:

Post a Comment

How to Retrieve Security Role based on Access in Dataverse using FetchXML ?

  Introduction: In tis blog, we will see how to Retrieve Security Role based on Access in Dataverse using FetchXML ? Implementation Steps: N...