|
|
|
|
|
- Overview
- Install the .NET Framework or SDK
- Checking whether .NET framework is installed on the current computer
- Installing the .NET Framework on the current computer (.NET 2.0, 3.x, or 4.x)
- Installing the .NET 5.0 SDK
- Installing the LibC
- Defining the .NET security level
- Making the DLLs required to run the .NET assembly accessible
Conditions for using a .NET assembly
To create and use a .NET assembly in WINDEV, you must: Remarks: - By default, when using a .NET assembly, the most recent framework/runtime is used.
- It is necessary to install the Runtime and LibC (standard library) on the computer, according to the .NET assembly to be used.
Install the .NET Framework or SDK Checking whether .NET framework is installed on the current computer To check whether the .NET framework is installed on the current computer: - Open the control panel of Windows ("Start .. Settings .. Control panel") and select "Add/Remove programs".
- Find the ".NET framework" program in the list.
Installing the .NET Framework on the current computer (.NET 2.0, 3.x, or 4.x) To install the .NET framework on the development computer: - Go to Microsoft's website: https://dotnet.microsoft.com/download/visual-studio-sdks.
- In ".NET Framework", look for the setup of the desired .NET Framework (2.0, 3.x, or 4.x).
- Install the desired .NET Framework.
- Install the corresponding Runtime.
Installing the .NET 5.0 SDK To install the .NET 5.0 SDK on the development computer: - Go to Microsoft's website: https://dotnet.microsoft.com/download/visual-studio-sdks
- In ".NET/.NET Core":
- Download and install the desired .NET SDK (64-bit).
- Download and install the corresponding "Runtime" (64-bit).
The .NET DLL requires the LibC. It does not load on computers where no other application has yet installed LibC. Defining the .NET security level To define the .NET security level, we advise you to check the Microsoft documentation. The security level must be set to "Full trust". Making the DLLs required to run the .NET assembly accessible To make the DLLs required to run the .NET assembly accessible: - If necessary, copy the "WDxxNET.DLL" library (from the "\Programs" subdirectory of the installation directory):
- to the directory of the .NET assembly.
- to the "Assembly" subdirectory of the Windows installation directory.
- For .NET 2.0, copy wd300net2.dll.
- For .NET 2.0 (64 bit), copy wd300net2_64.dll.
- For .NET 4.0, copy wd300net4.dll.
- For .NET 4.0 (64 bit), copy wd300net4_64.dll.
- For .NET 5.0, copy wd300net5.dll.
- For .NET 5.0 (64 bit), copy wd300net5_64.dll.
- If necessary, copy the WINDEV libraries:
- to the directory of the .NET assembly.
- to PATH.
Reminder: PATH lists the directories in which executables (".EXE" files) and libraries (".DLL" files) are searched for first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|