Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

mscorlib.dll #412

Open
Ivar418 opened this issue Sep 5, 2015 · 7 comments
Open

mscorlib.dll #412

Ivar418 opened this issue Sep 5, 2015 · 7 comments

Comments

@Ivar418
Copy link

Ivar418 commented Sep 5, 2015

when i try to debug its says
and if I try to just play it crashes when loading
plz help me out (if you can)

System.Reflection.ReflectionTypeLoadException was unhandled
HResult=-2146232830
Message=Kan een of meer van de gevraagde typen niet laden. Haal de LoaderExceptions-eigenschap op voor meer informatie.
Source=mscorlib
StackTrace:
bij System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
bij System.Reflection.RuntimeModule.GetTypes()
bij System.Reflection.Assembly.GetTypes()
bij VRage.Utils.MyEnumDuplicitiesTester.TestEnumNotDuplicitiesInAssembly(Assembly assembly, HashSet`1 hashSet) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\VRage\Utils\MyEnumDuplicitiesTester.cs:regel 76
bij VRage.Utils.MyEnumDuplicitiesTester.CheckEnumNotDuplicities(String companyName) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\VRage\Utils\MyEnumDuplicitiesTester.cs:regel 51
bij VRage.Utils.MyEnumDuplicitiesTester.CheckEnumNotDuplicitiesInRunningApplication() in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\VRage\Utils\MyEnumDuplicitiesTester.cs:regel 19
bij Sandbox.MyInitializer.InvokeBeforeRun(UInt32 appId, String appName, String userDataPath, Boolean addDateToLog) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\Sandbox.Game\MyInitializer.cs:regel 105
bij SpaceEngineers.MyProgram.Main(String[] args) in C:\Users\Ivar\Desktop\SpaceEngineers-master(1)\SpaceEngineers-master\Sources\SpaceEngineers\MyProgram.cs:regel 78
bij System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
bij System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
bij Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()
InnerException:

@tdmike
Copy link

tdmike commented Sep 9, 2015

the current build placed here is not in sync with the build released trough steam, so the mscorlib.dll version used in the steam release is differend from the one used in the opensource version. You'll need to wait until they update the build on github to the current version on steam.

@BlackRedDead
Copy link

good to know^^

@Ivar418
Copy link
Author

Ivar418 commented Sep 15, 2015

and how do I know when they update the code

@Jimmacle
Copy link

You'll see the commit.

@Drakoskai
Copy link

I ran into a problem that mentioned this dll. I narrowed it down to a missing xml definition for an object builder. I hacked some code in to handle it's absence and also the serializer being null and got it to build.

@Ivar418
Copy link
Author

Ivar418 commented Sep 16, 2015

Can you tel me what to do

@Drakoskai
Copy link

Your stack trace looks different from the one I had. In my case there was a call to a dictionary[string key] that was calling a nonexistent key so it threw an exception I changed to a getOrDefault so that if the entry was not present it would return a null. Later in the code the null would throw an exemption so I blocked that code around a null check to prevent it from running. Game loads fine for me now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants