You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have receiving the below error when I run my test. It is complaining about the TearDown FlushReport function:
TearDown : System.TypeLoadException : Could not load type 'Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine' from assembly 'Microsoft.AspNetCore.Razor.Language, Version=6.0.33.0
I understand it may be caused by incompatible package versions but I am new to coding and don’t know how I know what is or isn’t compatible?
I have receiving the below error when I run my test. It is complaining about the TearDown FlushReport function:
TearDown : System.TypeLoadException : Could not load type 'Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine' from assembly 'Microsoft.AspNetCore.Razor.Language, Version=6.0.33.0
I understand it may be caused by incompatible package versions but I am new to coding and don’t know how I know what is or isn’t compatible?
These are my nuget package versions:
And my code (ExtentReport.cs):
And the test file TearDown that utilises this file, this is where the error is occurring:
The text was updated successfully, but these errors were encountered: