


Save the project in C:\test and name the project XojoCSharp.xojo_binary_project.The following code in Class1.cs should look like the following:.Select Release, CPU Manager and choose Configuration: Release, Platform: 圆4, Build (checked).Browse and choose->Unmanaged Exports by Robert Giesecke->Click on CSXojo in right panel->Select Install.Tools->NuGet package manager->Manage NuGet Packages for Solution.Project name is CSXojo and press Create.Create a folder where to store project (I am using C:\test\CSharpXojo\).Select C# Class Library (.NET Framework) and press Next.Download Microsoft Build Tools 2015 and install from:.

Here are the steps to create the plugin in Visual Studio 2019 and read the DLL in Xojo: The two major aspects are to: 1) Install the Microsoft Build Tools 2015, and 2) RGiesecke NuGet package. This example shows how to create a simple function that adds two numbers together by creating a simple DLL in C# with Visual Studio 2019 that can be used in Xojo 2020 r1.
