Chilkat Software Chilkat Software Chilkat Software
Chilkat Software Chilkat Software

  

  

  

  

  

 

Chilkat for .NET Core

for Windows, Linux, and Mac OS X.

Chilkat .NET Core NuGet Package

The NuGet package is located at: Chilkat .NET Core NuGet Package

To use in Visual Studio 2015 Community Edition

  1. Create a new .NET Core application project. It can be a Console Application (.NET Core) or an ASP.NET Core Web Application (.NET Core). We'll choose Console Application.
  2. In the Solution Explorer, right-click on References. Choose Manage NuGet Packages...
  3. Set your Package source to "nuget.org". (This is likely the default and already selected.)
  4. Click on Browse and Search for ChilkatDnCore. Select it and Install.
  5. You may need to right-click on References (in Solution Explorer) and Restore Packages.
  6. In Program.cs add the following two lines to Main:
            public static void Main(string[] args)
            {
                Chilkat.Rest rest = new Chilkat.Rest();
                Console.WriteLine(rest.Version);
            }
    
  7. Build the app (F7).
  8. Set a breakpoint on the line just after Console.WriteLine.
  9. Press F5 to run in the debugger.
  10. Examine the contents of rest.Version. It should match the version you installed.
  11. Happy coding!

Using CLI on Windows, Mac OS X, and Linux (CentOS, Debian, Red Hat, Ubuntu, etc.)

  1. Install .NET Core
  2. Create the "Hello World" app in the normal fashion:
    	mkdir hwapp
    	cd hwapp
    	dotnet new
    
  3. Edit Program.cs and change the Main method to this:
            public static void Main(string[] args)
            {
                Chilkat.Rest rest = new Chilkat.Rest();
                Console.WriteLine(rest.Version);
            }
    
  4. Edit project.json and add the dependency for ChilkatDnCore
      "dependencies": {
        "ChilkatDnCore": "9.5.0.59",
        "Microsoft.NETCore.App": {
          "type": "platform",
          "version": "1.0.0-rc2-3002702"
        }
      },
    
  5. Build and run:
    	dotnet restore
    	dotnet run
    

Also See

  1. Reference Documentation: Chilkat C# Reference Documentation
  2. Example Code: Chilkat C# Example Code


Privacy Statement. Copyright 2000-2017 Chilkat Software, Inc. All rights reserved.

(Regarding the usage of the Android logo) Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Send feedback to support@chilkatsoft.com


Software components and libraries for Linux, MAC OS X, iOS, Android™, Solaris, RHEL/CentOS, FreeBSD, MinGW
Azure, Windows 10, Windows 8, Windows Server 2012, Windows 7, Vista, XP, 2003 Server, 2008 Server, etc.