EveryFileExplorer icon indicating copy to clipboard operation
EveryFileExplorer copied to clipboard

Compiling in Visual Studio 2017?

Open BenCat07 opened this issue 7 years ago • 1 comments

"Microsoft.CSharp.RuntimeBinder.RuntimeBinderException" in Visual Studio 2017 on compiling the 3ds module due to this snippet of code: `namespace LibEveryFileExplorer { public class StaticDynamic : DynamicObject { private Type _type; public StaticDynamic(Type type) { _type = type; }

	// Handle static properties
	public override bool TryGetMember(GetMemberBinder binder, out object result)
	{
		PropertyInfo prop = _type.GetProperty(binder.Name, BindingFlags.FlattenHierarchy | BindingFlags.Static | BindingFlags.Public);
		if (prop == null)
		{
			result = null;
			return false;
		}

		result = prop.GetValue(null, null);
		return true;
	}

`

BenCat07 avatar Jun 05 '17 16:06 BenCat07