Before you start the installation, verify that your system complies with the LuciadCPillar Hardware and software requirements.
Installing LuciadCPillar for C# development
To install LuciadCPillar and compile the C# samples:
-
Extract the
LuciadCPillar_Pro-Windows.ziparchive. -
Extract the
LuciadCPillar_Pro_Documentation.ziparchive. -
Extract the
LuciadCPillar_Pro_Data.ziparchive. -
Copy your LuciadCPillar license file, named
luciadcpillar_development.txt, into the folderlicenses. -
Open the solution file
csharp/AllSamplesCSharp.slnwith Visual Studio. -
Go to Build > Configuration Manager and select the desired Active solution configuration.
-
Go to Build > Build Solution to build all samples.
-
Select the sample you want to run. For instance, to select csharp_sample_wpf:
-
Right click on csharp_sample_wpf in the Solution Explorer.
-
Select Set as StartUp Project.
-
-
Run the application, by clicking the Start button for example.
Using NuGet
A LuciadCPillar release includes a NuGet package, Luciad.CPillar.SDK, in the csharp/packages folder, that you can publish
to a private package feed. After publishing, you can include LuciadCPillar in your project just like any other package.
The supplied NuGet package just contains the LuciadCPillar API. If you want to use the integration code or sample code in your project, you can also turn the samples into NuGet Packages:
-
Install the samples as described in Installing LuciadCPillar for C# development. Select the Release configuration to build them.
-
Go to the sample directory in
csharp/samplesand run the following command:>dotnet pack <project file name> --configuration Release --no-build -p:NuspecFile=<nuspec file name>
The sample directory now has a NuGet package, which you can add to your local feed.
|
For your convenience, there is a batch script, |
Troubleshooting
See troubleshooting for commonly encountered problems.