Pokemon404 Posted March 26, 2018 Posted March 26, 2018 I extracted all from the zip into a folder as usual, and the PKhex version before this worked perfectly fine, so I dunno why this happened. Please help! Spoiler System.NullReferenceException: Object reference not set to an instance of an object. at PKHeX.WinForms.Program.GetFrameworkVersion() at PKHeX.WinForms.Program.CheckNETFramework() at PKHeX.WinForms.Program.Main() System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount) at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount) at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord) at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget) at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target) at System.Reflection.RuntimeAssembly.GetCustomAttributesData() at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly target) at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation) at System.Resources.ResourceManager.CommonSatelliteAssemblyInit() at System.Resources.ResourceManager..ctor(Type resourceSource) at System.ComponentModel.ComponentResourceManager..ctor(Type t) at PKHeX.WinForms.ErrorWindow.InitializeComponent() at PKHeX.WinForms.ErrorWindow..ctor(String lang) at PKHeX.WinForms.ErrorWindow.ShowErrorDialog(String friendlyMessage, Exception ex, Boolean allowContinue) at PKHeX.WinForms.Program.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e)
Kaphotics Posted March 26, 2018 Posted March 26, 2018 https://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as install .net framework 4.6
Pokemon404 Posted March 27, 2018 Author Posted March 27, 2018 22 hours ago, Kaphotics said: https://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as install .net framework 4.6 I was thinking it was this, but I need more info first. Was this required for the last build as well or is it new to this one?
ReignOfComputer Posted March 27, 2018 Posted March 27, 2018 This was introduced on 31st Jan 2017. There hasn't been any changes to GetFrameworkVersion() (which is what your error stems from) since November of last year - may want to check if it's something on your computer's environment instead?
ReignOfComputer Posted March 27, 2018 Posted March 27, 2018 Can you verify if .NET Framework 4.6 is installed?
Pokemon404 Posted March 28, 2018 Author Posted March 28, 2018 (edited) Yes, after my dad gets home. I don't have administrator privileges on my PC, unfortunately. UPDATE: It turns out .NET Framework wasn't installed after all. PKhex is working now. Thanks, guys! Edited March 29, 2018 by Pokemon404
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now