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
title: TypeLoadException Could not Resolve Type with Token
3
+
description: Learn how to resolve a TypeLoadException Could not Resolve Type with Token runtime exception in Blazor WebAssembly apps.
4
+
type: troubleshooting
5
+
page_title: How to Fix TypeLoadException Could not Resolve Type with Token in Blazor WebAssembly Apps
6
+
slug: common-kb-could-not-resolve-type-with-token
7
+
tags: telerik, blazor, TypeLoadException
8
+
ticketid: 1679052, 1661487, 1637003
9
+
res_type: kb
10
+
---
11
+
12
+
## Environment
13
+
14
+
<table>
15
+
<tbody>
16
+
<tr>
17
+
<td>Product</td>
18
+
<td>UI for Blazor</td>
19
+
</tr>
20
+
</tbody>
21
+
</table>
22
+
23
+
## Description
24
+
25
+
This KB article discusses runtime exceptions that may occur in Blazor client-side WebAssembly apps and are similar to:
26
+
27
+
*`Unhandled exception rendering component: Could not resolve type with token ... from typeref (expected class 'Telerik.Blazor.Components...' in assembly 'Telerik.Blazor')`
28
+
*`System.TypeLoadException: Could not resolve type with token ... from typeref (expected class 'Telerik.Blazor.Components...' in assembly 'Telerik.Blazor') at Microsoft.AspNetCore.Components.ComponentBase...(RenderTreeBuilder builder)`
29
+
30
+
The error may occur after upgrading the version of .NET or Telerik UI for Blazor. The exact expected class and stack trace can differ.
31
+
32
+
## Cause
33
+
34
+
Runtime type load or resolution errors are usually related to:
35
+
36
+
* Application build cache
37
+
* Browser WebAssembly cache
38
+
39
+
## Solution
40
+
41
+
1. Close Visual Studio.
42
+
1. Delete all **bin** and **obj** folders in the app.
43
+
1. Clear the browser cache.
44
+
1. Restart Visual Studio and rebuild the app.
45
+
46
+
## See Also
47
+
48
+
*[Troubleshoot general issues with Telerik UI for Blazor](slug:troubleshooting-general-issues)
49
+
*[Troubleshoot JavaScript errors related to Telerik UI for Blazor](slug:troubleshooting-js-errors)
0 commit comments