Skip to content

Commit

Permalink
nuget package created
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed May 28, 2023
1 parent 35bbf82 commit 9fd4dfc
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 5 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
# Captcha Generator
[![Windows x64](https://github.com/bezzad/CaptchaGenerator/workflows/Windows%20x64/badge.svg)](https://github.com/bezzad/CaptchaGenerator/actions/workflows/dotnet-windows.yml)
[![Ubuntu x64](https://github.com/bezzad/CaptchaGenerator/workflows/Ubuntu%20x64/badge.svg)](https://github.com/bezzad/CaptchaGenerator/actions/workflows/dotnet-ubuntu.yml)
[![NuGet](https://img.shields.io/nuget/dt/Captcha.Net.svg)](https://www.nuget.org/packages/Captcha.Net)
[![NuGet](https://img.shields.io/nuget/vpre/Captcha.Net.svg)](https://www.nuget.org/packages/Captcha.Net)
[![License](https://img.shields.io/github/license/bezzad/CaptchaGenerator.svg)](https://github.com/bezzad/CaptchaGenerator/blob/master/LICENSE)
[![Generic badge](https://img.shields.io/badge/support-.Net_6-blue.svg)](https://github.com/bezzad/CaptchaGenerator)

# Captcha Generator .Net
Captcha Generator is a simple cross-platform library for generating image captcha.

## Features

- Simple & Cross-Platform
- Compatible with Linux and Windows
- Compatible with Docker images based on Linux :) |
- Compatible with Docker images based on Linux :)

## Installing via [NuGet](https://www.nuget.org/packages/Downloader)

PM> Install-Package Captcha.Net

## Installing via the .NET Core command line interface

dotnet add package Captcha.Net|

## Usage:
```csharp
Expand Down
4 changes: 2 additions & 2 deletions src/CaptchaGenerator.Test/CaptchaGenerator.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
29 changes: 28 additions & 1 deletion src/CaptchaGenerator/CaptchaGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,37 @@
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageId>Captcha.Net</PackageId>
<Title>Captcha.Net</Title>
<FileVersion>1.0.1</FileVersion>
<Authors>Bezzad</Authors>
<Description>CAPTCHA Generator with .Net 6.0</Description>
<Copyright>2023</Copyright>
<PackageProjectUrl>https://github.com/bezzad/CaptchaGenerator</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/bezzad/CaptchaGenerator</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Captcha; image-generator; captcha-generator; recaptcha</PackageTags>
<PackageReleaseNotes>First public version</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<IncludeSymbols>True</IncludeSymbols>
<Version>$(FileVersion)</Version>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="3.0.1" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta15" />
</ItemGroup>

Expand Down

0 comments on commit 9fd4dfc

Please sign in to comment.