Gchandler.Cs Error Visual Studio 2017

Asked

Viewed 26 times

0

Good morning,

I am debugging my project and while running it I come across the following error:

inserir a descrição da imagem aqui

Someone has already dealt with this problem and can help me solve it?

1 answer

0

Well, I solved it this way:

First downloaded the project from dll "mscorlib" in the following link =

https://referencesource.microsoft.com/#mscorlib/system/Runtime/interopservices/gchandle.Cs

Then where it is written in the image of the question "Find and find gchandle.Cs" I clicked and went directly to the project download folder and referenced the class.

It worked that way for me, but I still haven’t identified what happened to generate the problem.

  • You fixed the problem in Visual Studio or what caused the error in your application?

  • Which caused the error. Apparently my Visual Studio is not correctly referencing the mscorlib dll. I’m having to manually reference.

  • I find it difficult that the visual studio is not finding mscorlib, it would be the case to reinstall, this request from the source of mscorlib.dll not because you are trying to debug a method from the Gchandle class ??

Browser other questions tagged

You are not signed in. Login or sign up in order to post.