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

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.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

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.