Skip to content

Commit

Permalink
doc: Add hint for x86 based builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Igel committed Apr 30, 2024
1 parent 084949a commit 9330a15
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -307,6 +308,12 @@ The build task consumes the following [items](https://learn.microsoft.com/en-us/
</Project>
```

### 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.
Expand Down

0 comments on commit 9330a15

Please sign in to comment.