GithubHelp home page GithubHelp logo

r-larch / tcbuild Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 3.0 818 KB

Tool to build .NET Total Commander Plugins

License: MIT License

C# 100.00%
total-commander totalcmd plugin-sdk plugin-loader build-tool nuget-package

tcbuild's Introduction

TcBuild

TcBuild is a tool to build Total Commander plugins that are written in .NET

Build status Nuget (with prereleases)

Nuget

Install-Package TcBuild

Possible Plugins

Plugin Total Commander name Example
FileSystem Plugin .wfx - plugin TcPlugin.AzureBlob
Content Plugin .wdx - plugin comming soon
Lister Plugin .wlx - plugin comming soon
Packer Plugin .wcx - plugin comming soon

See Total Commander plugin types.

Create a plugin

Create a .NET Library Project targeting net472 or newer and install TcBuild nuget package. The TcBuild nuget comes with some base classes and interfaces to get you started. So you just have to create a class inheriting from one of the following plugin base classes:

  • ContentPlugin
  • FsPlugin
  • ListerPlugin
  • PackerPlugin
  • QuickSearchPlugin

Then override all methods that you like to support in your plugin.

Build a Release

The TcBuild nuget contains a MsBuild Task to perform all required transformations on your .dll and it produces a .zip file, in build output folder, which can be installed with Total Commander auto installer.

More infos: Installation using Total Commander's integrated plugin installer

Copyright

The idea for .NET Total Commander plugins came from Oleg Yuvashev which wrote the original TC .NET Interface that runs on .NET 4.0 and is not that easy to get up and running.

So I (René Larch) used his code (it is Licesed as MIT) and wrote this Nuget with it.

Pros and cons of TcBuild compared to TC .NET Interface

TcBuild TC .NET Interface
.NET Version ✔️ .NET 4.7.2 ❌.NET 1.0 & .NET 4.0
Getting started ✔️Install this Nuget ❌Lots of work
Global Assembly Cache ✔️-- ❌It needs two dlls in GAC
AppDomain Isolation ❌Not now, maybe I reimplement it later ✔️Yes it load your Plugin in its own AppDomain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.