Forum Discussion

Daan's avatar
Daan
Ideator I
2 years ago
Solved

Compatibility of IOM.dll with .NET Core 8

Hello Innovators, I am currently trying to integrate the IOM.dll with .NET Core 8. Has anyone successfully managed to get it working? If not, are there any recommended workarounds or alternative ap...
  • Daan's avatar
    2 years ago

    Update for future reference.

    My colleague found a way to get this working. 

    Step 1. Add the following code to your [project].csproj file inside the ItemGroup tags. The specific version 4.10.3 is important.

    [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:5d93efce-3299-4b0e-be82-59e406c6f8ba:type=xml&text=%3CPackageReference%20Include%3D%22System.Private.ServiceModel%22%20Version%3D%224.10.3%22%20%2F%3E%0A%3CPackageReference%20Include%3D%22System.ServiceModel.Http%22%20Version%3D%224.10.3%22%20%2F%3E%0A%3CPackageReference%20Include%3D%22System.ServiceModel.Primitives%22%20Version%3D%224.10.3%22%20%2F%3E%0A%3CPackageReference%20Include%3D%22System.ServiceModel.NetTcp%22%20Version%3D%224.10.3%22%20%2F%3E%0A%3CPackageReference%20Include%3D%22System.ServiceModel.Security%22%20Version%3D%224.10.3%22%20%2F%3E]

    Step 2. Terminal: dotnet clean

    Step 3. Clear contents of bin folder

    Step 4. Clear contents of obj folder

    Step 5. Terminal: dotnet restore

    Step 6. Terminal: dotnet build

    Step 7. Terminal: dotnet run

    Done!