Simple project example with a C++
dll and a RevitAddin
project, using DllImport
to call the dll functions.
This project was generated by the ricaun.AppLoader Revit plugin.
This project have this simple Math
class, this way is not needed to use DllImport
to call the dll functions.
The output of the CPlusPlus
project was changed in all configurations to the bin
and obj
folder to make similar like csproj
.
To make work in Revit the CPlusPlus
project need to be configured to .NET Framework
and .NET Core
configurations with platform x64
.
To make work with ricaun.Nuke
the CPlusPlus
project need to be configured to 2024
and 2025
configurations with platform x64
, the same configuration as the main project.
- Download and install RevitAddin.DllImport.Example.exe
This project is licensed under the MIT License.
Do you like this project? Please star this project on GitHub!