Cannot find .Net 4.0 version of Microsoft.SqlServer.Management.IntegrationServices.dll (version in GAC is built against .Net v2.0.50727) and receive "FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information."
**********UPDATE**********
I can create an instance of the IntegrationServices class and query the Catalog and determine the "SSISDB" Catalog exists. So, obviously the above referenced assembly (Microsoft.SqlServer.Management.IntegrationServices.dll) is actually loading OK. The issue seems to be when trying to load the Sfc library (Microsoft.SqlServer.Management.Sdk.Sfc.dll) which is also referenced in my project.
***************************
I am trying to install SSISDB catalog on a SQL Server 2012 Developer Edition instance using the Microsoft.SqlServer.Management.IntegrationServices.Catalog.Create() method.
I am currently testing my development using MSTEST project and I have added the following (with many suggested variations from the forums) to my app.config for my project and MSTest.exe.config for all instances on my file system:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v2.0"/>
<supportedRuntime version="v4.0"/>
</startup>