The Security Center 5.13 SDK assemblies are compiled in projects targeting .NET Framework 4.8. The upgrade to .NET 4.8 impacts standalone applications and workspace SDK modules. It’s important to know how the modules are affected and if any action is required.
Standalone applications and workspace SDK modules
To develop a new SDK application or recompile an existing Security Center 5.13 SDK, you require the following:- Visual Studio 2012 or higher
- Microsoft .NET Framework 4.8 Developer pack
- Projects that reference the SDK assemblies need to target .NET Framework 4.8 or higher
Standalone applications only
If your existing integrations use a .NET version that is earlier than 4.8, you must do one of the following:- Compile your integration with the Security Center 5.13 SDK and deploy again with
your updated integration.IMPORTANT: The updated integration isn’t compatible with earlier versions of the Security Center SDK.
- Adapt your current application to Security Center 5.13 SDK without recompiling.
- Deploy the application with an exe.config file that
includes a supported runtime element and a binding redirection.Example:
<?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/> </startup> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Genetec.Sdk" publicKeyToken="a446968a32b751de" culture="neutral"/> <bindingRedirect oldVersion="1.2.0.0-65535.85535.85535.85535" newVersion="5.13.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Genetec.Sdk.Media" publicKeyToken="a446968a32b751de" culture="neutral"/> <bindingRedirect oldVersion="1.2.0.0-65535.85535.85535.85535" newVersion="5.13.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
- Deploy the application with an exe.config file that
includes a supported runtime element and a binding redirection.
For more information on the supported runtime element, see https://msdn.microsoft.com/en-us/library/ff657133(v=vs.110).aspx.
For more information on binding redirection, see https://msdn.microsoft.com/en-us/library/2fc472t2(v=vs.110).aspx.