Romain

Romain

  • NA
  • 76
  • 39.5k

Adding mscore.dll in C# solution for using ICorRuntimeHost

Oct 22 2020 4:31 AM
Good morning,
 
I am working on C# application and I need to use ICorRuntimeHost interface. For using that, I need to add a reference to my visual solution which is "mscore.dll". I tried to add the dll as a reference but I encounter a problem with this following message : " A refence to C:\Windows\SysWOW64\mscoree.dll" could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component". 
Is anyone has a solution for this problem ?
 
I am using Visual Studio 2017 with .Net 4.7.1 framework.
 
Thanks in advance for any help.
 
 
 

Answers (1)