website/timelapse.tesses.net/making-extensions.html

62 lines
2.7 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Timelapse Now - Making Extensions</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="/">
<img src="//timelapse.tesses.net/favicon.ico" width="30" height="30" class="d-inline-block align-top" alt="">
TimelapseNow
</a>
<div class="navbar-nav">
<a class="nav-item nav-link active" href="//tesses.net/">Home</a>
<a class="nav-item nav-link" href="//tesses.net/apps/">Other Apps</a>
<a class="nav-item nav-link" href="/downloads.html">Downloads</a>
<a class="nav-item nav-link" href="//gitlab.tesses.net/tesses50/timelapsenow">Source Code</a>
</div>
</nav>
<div class="container">
<h1>So you want to make a plug-in/Extension</h1>
<p>
You will need to (prerequisites):
<ul>
<li>Download dotnet 6.0 sdk if you havent already <a href="https://dotnet.microsoft.com/en-us/download"></a></li>
<li>dotnet new --install Tesses.TimelapseExtension</li>
<li>dotnet tool install --global Tesses.TimelapsePack</li>
<li><a href="downloads.html">TimelapseNow</a> (Recomended)</li>
<li>Code editor, IDE of your choice for .NET</li>
<li>Knowledge with C#, F# or VB.NET (Hince I dont know F# that much, I will only show code for C#/VB.NET)</li>
</ul>
<h1>Creating an extension</h1>
cd into directory for project<br>
</p>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="cs-tab" data-toggle="tab" href="#cs" role="tab" aria-controls="cs" aria-selected="true">C#</a>
</li>
<li class="nav-item">
<a class="nav-link" id="vb-tab" data-toggle="tab" href="#vb" role="tab" aria-controls="vb" aria-selected="false">VB</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="cs" role="tabpanel" aria-labelledby="cs-tab"> <code>dotnet new timelapsenowext</code></div>
<div class="tab-pane fade" id="vb" role="tabpanel" aria-labelledby="vb-tab"> <code>dotnet new timelapsenowext --language VB</code></div>
</div>
</div>
<script src="js/bootstrap.min.js"></script>
</body>
</html>