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
An exception of type 'RazorEngine.Templating.TemplateCompilationException' occurred in RelevantCodes.ExtentReports.dll but was not handled in user code
Additional information: Errors while compiling a Template.
Please try the following to solve the situation:
If the problem is about missing/invalid references or multiple defines either try to load
the missing references manually (in the compiling appdomain!) or
Specify your references manually by providing your own IReferenceResolver implementation.
Currently all references have to be available as files!
If you get 'class' does not contain a definition for 'member':
try another modelType (for example 'null' to make the model dynamic).
NOTE: You CANNOT use typeof(dynamic) to make the model dynamic!
Or try to use static instead of anonymous/dynamic types.
More details about the error:
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
error: (901, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (901, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (918, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (918, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (935, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (935, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (961, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (961, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (1367, 107) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)'
error: (1400, 105) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)'
error: (1439, 102) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.Log>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.Log>)'
error: (1700, 126) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.Log>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model....
The text was updated successfully, but these errors were encountered:
An exception of type 'RazorEngine.Templating.TemplateCompilationException' occurred in RelevantCodes.ExtentReports.dll but was not handled in user code
Additional information: Errors while compiling a Template.
Please try the following to solve the situation:
If the problem is about missing/invalid references or multiple defines either try to load
the missing references manually (in the compiling appdomain!) or
Specify your references manually by providing your own IReferenceResolver implementation.
See https://antaris.github.io/RazorEngine/ReferenceResolver.html for details.
Currently all references have to be available as files!
If you get 'class' does not contain a definition for 'member':
Or try to use static instead of anonymous/dynamic types.
More details about the error:
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Func' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
warning: (0, 0) The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
error: (901, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (901, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (918, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (918, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (935, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (935, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (961, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)' and 'System.Linq.Enumerable.Where<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>, System.Func<RelevantCodes.ExtentReports.ExtentTest,bool>)'
error: (961, 62) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.ExtentTest>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.ExtentTest>)'
error: (1367, 107) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)'
error: (1400, 105) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.TestAttribute>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.TestAttribute>)'
error: (1439, 102) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.Log>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.Log>)'
error: (1700, 126) The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model.Log>)' and 'System.Linq.Enumerable.Count<RelevantCodes.ExtentReports.Model.Log>(System.Collections.Generic.IEnumerable<RelevantCodes.ExtentReports.Model....
The text was updated successfully, but these errors were encountered: