question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugger Failed to Start (System.Reflection.TypeExtensions failed to load.)

See original GitHub issue

Area of Cosmos - What area of Cosmos are we dealing with?

The Debugger

Expected Behaviour - What do you think that should happen?

A VMWare Instance should start with Cosmos’s prefilled code.

(Echoing the user input back to the user)

Actual Behaviour - What unexpectedly happens?

The debugger gives the error: Unexpected exception during Attach System.IO.FileNotFoundException: Could not load file or assembly ‘System.Reflection.TypeExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified. File name: ‘System.Reflection.TypeExtentions, Version=4.0.0.0, Culture=neutral, PublicKeyToken b03f5f7f11d50a3a’ at DapperExtensions.DapperExtensionsConfiguration.<>c__DisplayClass19_0.<GetMapType>b__0(Assembly a) at DapperExtensions.DapperExtensionsConfiguration.GetMapType(Type entityType) at DapperExtensions.DapperExtensionsConfiguration.GetMap(Type entityType) at DapperExtensions.DapperExtensionsConfiguration.GetMapT at DapperExtensions.DapperImplementor.GetList[T](DbConnection connection, Object predicate, IList1 sort, DbTransaction transaction, Nullable 1 commandTimeout, Boolean buffered) at DapperExtensions.DapperExtensions.GetList[T](DbConnection connection, Object predicate, IList`1 sort, DbTransacti…… (In angle brackets: truncated)

Reproduction - How did you get this error to appear?

By starting the Debugger “Cosmos”.

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

User Kit Versions:

20190628, and 20190508,

Attempted Fixes

Installing System.Reflection.TypeExtensions version 4.0.0 and 4.7.0

2x Reinstalling userkit. Installing older version of userkit. 6x Creating a new project.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
AdhithAdhicommented, May 29, 2020

Error I have the same issue build is successful but debugger says file not found exception. I got this error after updating to the new visual studio now I can’t work.

0reactions
quajakcommented, Nov 26, 2020

Then please open a new issue on github.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I fix could not load file or assembly System. ...
1 Answer 1 · Open Solution Explorer and expand your project. · Right click Reference and click Add Reference.... · Find System.Reflection. ·...
Read more >
System.Reflection.TypeExtensions 4.7.0
Provides extensions methods for System.Type that are designed to be source-compatible with older framework reflection-based APIs.
Read more >
Build error with Unity 5.2
UnityException: Failed to run assembly converter with command -metadata=0 ... Reflection,System.Reflection.TypeExtensions --ignore=System.
Read more >
Debugging takes extremely long time to start project .NET ...
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.1.7\System.Reflection.TypeExtensions.dll was not found or failed to read
Read more >
Unable to publish Azure Web App due to NuGet Packages missing.
Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found