Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

error CS7069: Reference to type 'ObjectHandle' claims it is defined in 'mscorlib', but it could not be found

$
0
0
I am receiving the following error: ---------- **Assets\Scripts\Python\OOP\Interpreter.cs(184,31): error CS7069: Reference to type 'ObjectHandle' claims it is defined in 'mscorlib', but it could not be found** ---------- I have integrated IronPython, and all the files this error is located in point to a class in the Microsoft.Scripting.Hosting namespace. I thought it may have to do with the .NET Standard version listed under **Project Settings > Player > Other Settings > Api Compatibility Level.** This game connects to a database and it is required that the API Comptaiblity Level be .NET Standard 2.0. However, I found that setting it to .NET Standard 4.x removes the error (but then I can't connect to the database). ---------- I uploaded images of the errors and my project settings below. Does anyone have any knowledge on the .NET frameworks or mscorlib? What might be happening here? Anything would be appreciated, thanks! ![alt text][1] ![alt text][2] [1]: /storage/temp/153415-unityerrors.png [2]: /storage/temp/153416-project-settings.png

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>