55 <IsTrimmable Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))" >true</IsTrimmable >
66 <RootNamespace >Net.Codecrete.QrCodeGenerator</RootNamespace >
77 <PackageId >Net.Codecrete.QrCodeGenerator</PackageId >
8- <Version >2.0.7 </Version >
8+ <Version >2.1.0 </Version >
99 <Authors >Manuel Bleichenbacher, Project Nayuki</Authors >
1010 <Product >QR Code Generator for .NET</Product >
1111 <Description >QR Code Generator for .NET – simple, compact and with many examples.
1212
1313Core features:
1414- Supports encoding all 40 versions (sizes) and all 4 error correction levels, as per the QR Code Model 2 standard
15- - Output formats: Raw modules/pixels of the QR symbol, SVG and XAML path (for raster bitmap / PNG see project home page), BMP bitmap
15+ - Output formats: Raw modules/pixels of the QR symbol, SVG, XAML path, PNG and BMP files. For other raster bitmap formats, see project home page.
1616- Encodes numeric and special-alphanumeric text in less space than general text
1717- Open source code under the permissive MIT License
18- - Significantly shorter code but more documentation compared to competing libraries
18+ - Significantly smaller code but more documentation compared to competing libraries
1919- Built for .NET Standard 2.0 and therefore runs on most modern .NET platforms (.NET Core, .NET Framework, Mono etc.).
2020- Derived from tried and tested implementation by project Nayuki
2121
@@ -26,36 +26,30 @@ Manual parameters:
2626- You can create a list of data segments manually and add ECI segments.
2727
2828Optional advanced features:
29+ - Long text can be split into multiple linked QR codes (aka Structured Append)
2930- Encodes Japanese Unicode text in Kanji mode to save a lot of space compared to UTF-8 bytes
30- - Computes optimal segment mode switching for text with mixed numeric/alphanumeric/general/kanji parts</Description >
31+ - Computes optimal segment mode switching for text with mixed numeric/alphanumeric/general/kanji parts
32+ </Description >
3133 <Copyright >Copyright (c) Manuel Bleichenbacher and Project Nayuki (MIT License)</Copyright >
3234 <RepositoryUrl >https://github.com/manuelbl/QrCodeGenerator</RepositoryUrl >
3335 <PackageProjectUrl >https://github.com/manuelbl/QrCodeGenerator</PackageProjectUrl >
3436 <PackageLicenseUrl ></PackageLicenseUrl >
3537 <PackageReadmeFile >README.md</PackageReadmeFile >
3638 <PackageIcon >logo.png</PackageIcon >
3739 <PackageTags >qr code, qrcode, kanji, qrcode generator, svg</PackageTags >
38- <PackageReleaseNotes >New in releases 2.0.x:
39- - Fully compatible with .NET 6 (no longer depends on System.Drawing)
40- - Separate ToBitmap() implementations for System.Drawing, SkiaSharp and ImageSharp
41- - Documentation included into NuGet package
42- - QR code as geometric path suitable for SVG and XAML
43- - Very compact SVGs
44- - BMP bitmap generation
45- - Fix for SVG generation with Norwegian locale
46- - Enable trimming for .NET 6
47- - Fix for `IndexOutOfRangeException`
48- - Fix for mask penalty algorithm
40+ <PackageReleaseNotes >New in releases 2.1.x:
41+ - PNG support
42+ - Structured append / Linked QR mode
4943</PackageReleaseNotes >
5044 <Company >Codecrete</Company >
5145 <SignAssembly >true</SignAssembly >
5246 <AssemblyOriginatorKeyFile >Key.snk</AssemblyOriginatorKeyFile >
5347 <AssemblyVersion >1.6.0.0</AssemblyVersion >
54- <FileVersion >2.0.7 .0</FileVersion >
48+ <FileVersion >2.0.1 .0</FileVersion >
5549 <PackageLicenseExpression >MIT</PackageLicenseExpression >
5650 <GenerateDocumentationFile >True</GenerateDocumentationFile >
5751 <EnablePackageValidation >true</EnablePackageValidation >
58- <PackageVersion >2.0.7 </PackageVersion >
52+ <PackageVersion >2.1.0 </PackageVersion >
5953 <PackageValidationBaselineVersion >2.0.0</PackageValidationBaselineVersion >
6054 <Deterministic >True</Deterministic >
6155 </PropertyGroup >
@@ -81,6 +75,7 @@ Optional advanced features:
8175 </ItemGroup >
8276
8377 <Target Name =" ValidateNuGetPackage" AfterTargets =" Pack" >
78+ <Exec Command =" dotnet tool restore" />
8479 <Exec Command =" dotnet validate package local $([MSBuild]::EnsureTrailingSlash($(PackageOutputPath)))$(PackageId).$(PackageVersion).nupkg" />
8580 </Target >
8681
0 commit comments