Hi, my patch won’t compile aymore. Last tested and working gamm version was: 7.0-0416.
Now with 7.0-0525 I get these errors:
ReflectionTypeLoadException: “Unable to load one or more of the requested types.
Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.”
StackTrace:
System.Reflection.RuntimeModule { private static System.RuntimeType GetTypes(System.Reflection.RuntimeModule module) { … } }
System.Reflection.RuntimeModule { public virtual System.Type GetTypes() { … } }
VL.AppServices.VLTypeInfoFactory { private void ScanAssembly(System.Reflection.Assembly assembly) { … } }
VL.AppServices.VLTypeInfoFactory { private void ScanNewAssembliesIfNeeded() { … } }
VL.AppServices.VLTypeInfoFactory { public VL.AppServices.VLTypeInfo GetTypeInfo(System.Type type) { … } }
VL.AppServices.TypeRegistryImpl { public virtual VL.Core.IVLTypeInfo GetTypeInfo(System.Type type) { … } }
VL.AppServices.Serialization.SerializationContextV2 { protected virtual string GetSimpleName(System.Type type) { … } }
VL.AppServices.Serialization.SerializationContextInternal { internal string GetTagName(System.Type type) { … } }
VL.AppServices.Serialization.SerializationContextInternal { private object SerializeCore(string name, object value, System.Type staticType, bool forceElement) { … } }
VL.AppServices.Serialization.SerializationContextInternal { public virtual object Serialize(string name, object value, System.Type staticType, bool forceElement) { … } }
VL.AppServices.Serialization.SerializationServiceImpl { protected virtual object Serialize(VL.Core.NodeContext nodeContext, object value, System.Type staticType, bool throwOnError, bool includeDefaults, bool forceElement, bool pathsAreRelativeToDocument, System.Collections.Generic.IReadOnlyList<>& errorMessages) { … } }
VL.Core.SerializationService { public object Serialize(VL.Core.NodeContext nodeContext, object value, System.Type staticType, bool includeDefaults, bool forceElement, bool pathsAreRelativeToDocument) { … } }
VL.Core.Serialization { internal static System.Xml.Linq.XElement Serialize(VL.Core.NodeContext nodeContext, object value, System.Type staticType, bool includeDefaults) { … } }
VL.Core.Serialization { public static System.Xml.Linq.XElement Serialize(VL.Core.NodeContext nodeContext, T value, bool includeDefaults) { … } }
VL.HDE.WindowManager { public VL.HDE.IWindow CreateWindow(string name, object windowModel, System.Nullable<Stride.Core.Mathematics.RectangleF> bounds, bool show) { … } }
VL.HDE.PatchEditor.EditorControl { private VL.HDE.PatchEditor.CanvasWindow NewCanvas(VL.Model.Canvas canvas, bool show) { … } }
VL.HDE.PatchEditor.EditorControl { public VL.HDE.PatchEditor.CanvasWindow OpenCanvas(VL.Model.Canvas canvas, VL.Model.Element focusedElement, bool show) { … } }
VL.HDE.PatchEditor.EditorControl+<>c__DisplayClass38_0 { internal bool g__ShowAppPatch|0(System.Func<VL.Model.Canvas, bool> askagain) { … } }
VL.HDE.PatchEditor.EditorControl { public void ShowDocument(VL.Model.Document document, VL.HDE.PatchEditor.ShowSpecialPatch showSpecialPatch) { … } }
VL.HDE.PatchEditor.NavigationMenuProvider+d__54 { private virtual void MoveNext() { … } }
System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { … } }
System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { … } }
System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task, System.Threading.Tasks.ConfigureAwaitOptions options) { … } }
VL.Model.VLSession+<>c__DisplayClass166_0+<b__0>d { private virtual void MoveNext() { … } }
ReflectionTypeLoadException: “Unable to load one or more of the requested types.
Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.”
StackTrace:
System.Reflection.RuntimeModule { private static System.RuntimeType GetTypes(System.Reflection.RuntimeModule module) { … } }
System.Reflection.RuntimeModule { public virtual System.Type GetTypes() { … } }
VL.AppServices.VLTypeInfoFactory { private void ScanAssembly(System.Reflection.Assembly assembly) { … } }
VL.AppServices.VLTypeInfoFactory { private void ScanNewAssembliesIfNeeded() { … } }
VL.AppServices.VLTypeInfoFactory { public VL.AppServices.VLTypeInfo GetTypeInfo(System.Type type) { … } }
VL.AppServices.TypeRegistryImpl { public virtual VL.Core.IVLTypeInfo GetTypeInfo(System.Type type) { … } }
VL.AppServices.Serialization.SerializationContextV2 { protected virtual string GetSimpleName(System.Type type) { … } }
VL.AppServices.Serialization.SerializationContextInternal { internal string GetTagName(System.Type type) { … } }
VL.AppServices.Serialization.SerializationContextInternal { private object SerializeCore(string name, object value, System.Type staticType, b
ool forceElement) { … } }
VL.AppServices.Serialization.SerializationContextInternal { public virtual object Serialize(string name, object value, System.Type staticType
, bool forceElement) { … } }
VL.AppServices.Serialization.SerializationServiceImpl { protected virtual object Serialize(VL.Core.NodeContext nodeContext, object value, Sys
tem.Type staticType, bool throwOnError, bool includeDefaults, bool forceElement, bool pathsAreRelativeToDocument, System.Collections.Generic.IReadOnl
yList<>& errorMessages) { … } }
VL.Core.SerializationService { public object Serialize(VL.Core.NodeContext nodeContext, object value, System.Type staticType, bool includeDef
aults, bool forceElement, bool pathsAreRelativeToDocument) { … } }
VL.Core.Serialization { internal static System.Xml.Linq.XElement Serialize(VL.Core.NodeContext nodeContext, object value, System.Type staticT
ype, bool includeDefaults) { … } }
VL.Core.Serialization { public static System.Xml.Linq.XElement Serialize(VL.Core.NodeContext nodeContext, T value, bool includeDefaults) { ..
. } }
VL.HDE.WindowManager { public VL.HDE.IWindow CreateWindow(string name, object windowModel, System.Nullable<Stride.Core.Mathematics.RectangleF
bounds, bool show) { … } }
VL.HDE.PatchEditor.EditorControl { private VL.HDE.PatchEditor.CanvasWindow NewCanvas(VL.Model.Canvas canvas, bool show) { … } }
VL.HDE.PatchEditor.EditorControl { public VL.HDE.PatchEditor.CanvasWindow OpenCanvas(VL.Model.Canvas canvas, VL.Model.Element focusedElement,
bool show) { … } }
VL.HDE.PatchEditor.EditorControl+<>c__DisplayClass38_0 { internal bool g__ShowAppPatch|0(System.Func<VL.Model.Canvas, bool> ask
again) { … } }
VL.HDE.PatchEditor.EditorControl { public void ShowDocument(VL.Model.Document document, VL.HDE.PatchEditor.ShowSpecialPatch showSpecialPatch)
{ … } }
VL.HDE.PatchEditor.NavigationMenuProvider+d__54 { private virtual void MoveNext() { … } }
System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { … } }
System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { … } }
System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task, S
ystem.Threading.Tasks.ConfigureAwaitOptions options) { … } }
VL.Model.VLSession+<>c__DisplayClass166_0+<b__0>d { private virtual void MoveNext() { … } }
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at VL.AppServices.VLTypeInfoFactory.ScanAssembly(Assembly assembly)
at VL.AppServices.VLTypeInfoFactory.ScanNewAssembliesIfNeeded()
at VL.AppServices.VLTypeInfoFactory.GetTypeInfo(Type type)
at VL.AppServices.TypeRegistryImpl.GetTypeInfo(Type type)
at VL.AppServices.Serialization.SerializationContextV2.GetSimpleName(Type type)
at VL.AppServices.Serialization.SerializationContextInternal.GetTagName(Type type)
at VL.AppServices.Serialization.SerializationContextInternal.SerializeCore(String name, Object value, Type staticType, Boolean forceElement)
at VL.AppServices.Serialization.SerializationContextInternal.Serialize(String name, Object value, Type staticType, Boolean forceElement)
at VL.AppServices.Serialization.SerializationServiceImpl.Serialize(NodeContext nodeContext, Object value, Type staticType, Boolean throwOnError, B
oolean includeDefaults, Boolean forceElement, Boolean pathsAreRelativeToDocument, IReadOnlyList1& errorMessages) at VL.Core.SerializationService.Serialize(NodeContext nodeContext, Object value, Type staticType, Boolean includeDefaults, Boolean forceElement, B oolean pathsAreRelativeToDocument) at VL.Core.Serialization.Serialize(NodeContext nodeContext, Object value, Type staticType, Boolean includeDefaults) at VL.Core.Serialization.Serialize[T](NodeContext nodeContext, T value, Boolean includeDefaults) at VL.HDE.WindowManager.CreateWindow(String name, Object windowModel, Nullable
1 bounds, Boolean show)
at VL.HDE.PatchEditor.EditorControl.NewCanvas(Canvas canvas, Boolean show)
at VL.HDE.PatchEditor.EditorControl.OpenCanvas(Canvas canvas, Element focusedElement, Boolean show)
at VL.HDE.PatchEditor.EditorControl.<>c__DisplayClass38_0.g__ShowAppPatch|0(Func`2 askagain)
at VL.HDE.PatchEditor.EditorControl.ShowDocument(Document document, ShowSpecialPatch showSpecialPatch)
at VL.HDE.PatchEditor.NavigationMenuProvider.DoOpenDocumentsAsync(String fileNames)
at VL.Model.VLSession.<>c__DisplayClass166_0.<b__0>d.MoveNext()
System.MissingMethodException: Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
System.MissingMethodException: Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.
Unexpected exception while Starting: Unable to load one or more of the requested types.
Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at VL.AppServices.VLTypeInfoFactory.GetTypeInfos(Assembly assembly)+MoveNext()
at VL.AppServices.TypeRegistryImpl.<get_RegisteredTypes>g__Compute|10_0()
at VL.AppServices.TypeRegistryImpl.get_RegisteredTypes()
at VL.AppServices.TypeRegistryImpl.b__13_0(UniqueId id)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at VL.AppServices.TypeRegistryImpl.GetTypeById(UniqueId id)
at VL.AppServices.Logging.LoggerFactoryImpl.g__InferCategory|15_0(NodeContext nodeContext)
at VL.AppServices.Logging.LoggerFactoryImpl.CreateLogger(String categoryName, NodeContext nodeContext)
at VL.Core.NodeContext.GetLogger()
at VL.Stride.Rendering.EffectShaderNodes.<>c__DisplayClass20_1.b__2(NodeInstanceBuildContext nodeBuildContext)
at VL.Core.NodeBuilding.NodeDescription.CreateInstance(NodeContext context)
at VL.Stride.Rendering.EffectShaderNodes.<>c__DisplayClass21_1.b__4(NodeInstanceBuildContext nodeBuildContext)
at VL.Core.NodeBuilding.NodeDescription.CreateInstance(NodeContext context)
at VL.Core.NodeFactoryRegistry.CreateNode(NodeContext context, String name, String category)
at VL.AppServices.CompilationHelper.CreateNodeById(NodeContext context, String name, String category)
at VL_Stride_TextureFX.Stride.Textures.Mixer.Blend_P.Create(NodeContext Node_Context)
at VL_Stride_TextureFX.Stride.Textures.Mixer.Blend_P.Create(NodeContext Node_Context)
at ExpeditionInsEis.Main.Eismeer_CProgram_.Create(Eismeer_C _self, NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-Spie
lAmSteuer\ExpeditionInsEis.vl.1.14.cs:line 30712
at ExpeditionInsEis.Main.Eismeer_C.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionInsEis
.vl.1.14.cs:line 29830
at ExpeditionInsEis.Main.Eismeer_C.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionInsEis.vl.
1.14.cs:line 29827
at ExpeditionInsEis.Main.World_CProgram.Create(World_C _self, NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmS
teuer\ExpeditionInsEis.vl.2.14.cs:line 27052
at ExpeditionInsEis.Main.World_C.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionInsEis.v
l.2.14.cs:line 26570
at ExpeditionInsEis.Main.World_C.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionInsEis.vl.2.
14.cs:line 26567
at ExpeditionInsEis.Main.SceneManager_PProgram.Create(SceneManager_P _self, NodeContext Node_Context) in C:\Users\rober\Documents_Project
s\DSM-SpielAmSteuer\ExpeditionInsEis.vl.1.14.cs:line 25822
at ExpeditionInsEis.Main.SceneManager_P.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionI
nsEis.vl.1.14.cs:line 25585
at ExpeditionInsEis.Main.SceneManager_P.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionInsEi
s.vl.1.14.cs:line 25581
at ExpeditionInsEis.Main.ExpeditionInsEisApplication_PProgram.Create(ExpeditionInsEisApplication_P __self, NodeContext Node_Context) in C:
Users\rober\Documents_Projects\DSM-SpielAmSteuer\ExpeditionInsEis.vl.5.14.cs:line 21007
at ExpeditionInsEis.Main.ExpeditionInsEisApplication_P.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSte
uer\ExpeditionInsEis.vl.5.14.cs:line 20825
at ExpeditionInsEis.Main.ExpeditionInsEisApplication_P.Create(NodeContext Node_Context) in C:\Users\rober\Documents_Projects\DSM-SpielAmSteuer
ExpeditionInsEis.vl.5.14.cs:line 20821
at lambda_method177(Closure, NodeContext, IReadOnlyDictionary2) at VL.AppServices.VLTypeInfo.CreateInstance(NodeContext context, IReadOnlyDictionary
2 arguments)
at VL.AppServices.AppHostBase.CreateInstance(IVLTypeInfo type, NodeContext nodeContext, IReadOnlyDictionary2 arguments) at VL.Core.AppHost.CreateInstance(Type type, NodeContext nodeContext, IReadOnlyDictionary
2 arguments)
at VL.Lang.Platforms.RuntimeInstance.Step(ITargetCompilation compilation, TimeSpan timeSinceStart)
System.MissingMethodException: Method not found: ‘System.Object VL.Core.IVLPropertyInfo.GetValue(VL.Core.IVLObject)’.
System.MissingMethodException: Method not found: ‘System.Object VL.Core.IVLTypeInfo.CreateInstance(VL.Core.NodeContext)’.