From 9330a15fd8d989f872daf2fec6fb51d893df835d Mon Sep 17 00:00:00 2001 From: Carsten Igel Date: Tue, 30 Apr 2024 16:25:47 +0200 Subject: [PATCH] doc: Add hint for x86 based builds --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 5fba529..59a7f62 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ The `dSPACE.Runtime.InteropServices.BuildTasks` library provides build tasks whi - [Enforcing to stop the build, if an error occurs](#enforcing-to-stop-the-build-if-an-error-occurs) - [Parameters](#parameters) - [Example](#example) + - [Hints](#hints) - [32Bit support](#32bit-support) - [Migration notes (mscorelib vs System.Private.CoreLib)](#migration-notes-mscorelib-vs-systemprivatecorelib) - [Why can I load a .NET Framework library into a .NET application?](#why-can-i-load-a-net-framework-library-into-a-net-application) @@ -307,6 +308,12 @@ The build task consumes the following [items](https://learn.microsoft.com/en-us/ ``` +### Hints + +When using the build tasks to create an 32 bit version for your type libraries / projects: The tasks require the .NET runtime in their specific CPU architecture to be installed. + +So, for building 32 bit TLBs, dscom32 will be executed, which **requires** .NET runtime in x86 flavor to be available. + ## 32Bit support `dscom` installed by `dotnet tool install` can only handle AnyCPU or 64Bit assemblies and can only generate a 64bit TLB.