The project builds and compiles fine and works fine on two machine, but throws this “method missing” system error on a different machine. I can see error in the Event Server MIP logs.
My target .NET framework version when building on Visual Studio 2019 is 4.6
I’ve actually successfully installed and used the plugin on two different Windows machines successfully. They were both using XProtect Essentials+.
This third new machine is a Windows Server 2016 Datacenter with XProtect Corporate 2019R3 installed.
The MIPSDK is the latest.
The important thing is that I have some external dependencies in my plugin (for sending and parsing HTTP requests and responses).
This is my generated .dll.config file for the plugin:
<?xml version="1.0" encoding="utf-8"?>
<configuration><runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.1.1.3" newVersion="4.1.1.3" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /></dependentAssembly></assemblyBinding></runtime>
</configuration>
And the packages.config file in my Visual Studio project:
<?xml version="1.0" encoding="utf-8"?>
<packages><package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net46" /><package id="Newtonsoft.Json" version="12.0.3" targetFramework="net46" /><package id="System.Net.Http" version="4.3.4" targetFramework="net46" /><package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net46" /><package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net46" /><package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net46" /><package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net46" />
</packages>
And a screenshot my references are attached.
