TypeLoadException: Could not resolve type with token 01000037
See original GitHub issueUnity version: 2017.2.0b11
When searching for the Nuget package, the error message after is shown.
I wonder why I cannot use the Nuget package installed by the visual studio?
TypeLoadException: Could not resolve type with token 01000037 (from typeref, class/assembly System.ServiceModel.Syndication.SyndicationFeed, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35)
NugetForUnity.NugetPackageSource.Search (System.String searchTerm, System.Boolean includeAllVersions, System.Boolean includePrerelease, System.Int32 numberToGet, System.Int32 numberToSkip) (at <b8b5bb12b8434a5285935caa38a54646>:0)
NugetForUnity.NugetHelper.Search (System.String searchTerm, System.Boolean includeAllVersions, System.Boolean includePrerelease, System.Int32 numberToGet, System.Int32 numberToSkip) (at <b8b5bb12b8434a5285935caa38a54646>:0)
NugetForUnity.NugetWindow.UpdateOnlinePackages () (at <b8b5bb12b8434a5285935caa38a54646>:0)
NugetForUnity.NugetWindow.DrawOnlineHeader () (at <b8b5bb12b8434a5285935caa38a54646>:0)
NugetForUnity.NugetWindow.DrawOnline () (at <b8b5bb12b8434a5285935caa38a54646>:0)
NugetForUnity.NugetWindow.OnGUI () (at <b8b5bb12b8434a5285935caa38a54646>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:305)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:313)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:285)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:278)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:251)
UnityEditor.DockArea.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:383)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:143)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleEvent (UnityEngine.Experimental.UIElements.EventBase evt) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:213)
UnityEngine.Experimental.UIElements.EventDispatcher.DispatchEvent (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/EventDispatcher.cs:182)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/UIElementsUtility.cs:207)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/UIElementsUtility.cs:72)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs:175)
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Could not resolve type with token 0100000f - xamarin
The TypeLoadException with a number token (instead of a type name) usually indicates that the assembly used at runtime is different than the ......
Read more >Could not resolve type with token 0100004a from typeref ...
getting this error while i compile the project Error Mono.Linker.MarkException: Error processing method: 'System.Byte[] HeavenTaste.
Read more >Bug - Could not resolve type with token 01000149 error is ...
TypeLoadException : Could not resolve type with token 01000149 (from typeref, class/assembly UnityEditor.SceneManagement.
Read more >Untitled
Web7 Apr 2023 · TypeLoadException: Could not resolve type with token 01000011 (from typeref, class/assembly UnityEditor.GridBrush, UnityEditor ...
Read more >Could not resolve type with token 01000018
Hello All, I am trying to run the client-recognition sample that is downloaded by the Wikitude SDK for Xamarin. There is no error...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
New question, maybe it is a Mac only problem…
Unfortunately, I’ve never tested NuGetForUnity on a Mac.
Searching on Google showed me that at least one other person is having a similar problem with using .NET 4.6 in Unity 2017 on Mac: https://issuetracker.unity3d.com/issues/mac-dot-net-4-dot-6-system-dot-net-dot-webexception-error-in-net-4-dot-6
I’ll continue to investigate, but without a Mac progress will be slow.