Could not load type 'Cassette.Trace' from assembly 'Cassette, Version=2.4.2.13844, Culture=neutral, PublicKeyToken=null'.
I have upgraded Cassette to new version 2.4.2, and then I started getting the below error Could not load type 'Cassette.Trace' from assembly 'Cassette, Version=2.4.2.13844, Culture=neutral, PublicKeyToken=null'. at Cassette.Web.StartUp.PreApplicationStart()
I assume Cassette.Trace is moved to some other assembly. Could you please help
The same is happening to me.
@ManojChala did you find a way to fix it?
Pardon me. Not sure when I asked this. I totally forgot about it because that task was over.
Regards Manoj
On Wed, Sep 14, 2022, 6:43 PM Andres Moschini @.***> wrote:
@ManojChala https://github.com/ManojChala did you find a way to fix it?
— Reply to this email directly, view it on GitHub https://github.com/andrewdavey/cassette/issues/485#issuecomment-1246747288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXTQHE4NFEZS2BPBIA7G3C3V6HFRBANCNFSM5XD5KNGQ . You are receiving this because you were mentioned.Message ID: @.***>
Finally, I fixed it removing these lines from web.config:
<system.diagnostics>
<sources>
<source name="Cassette" switchName="CassetteSwitch" switchType="System.Diagnostics.SourceSwitch" />
</sources>
<switches>
<add name="CassetteSwitch" value="All" />
</switches>
</system.diagnostics>