Syntixi.Attributes 1.0.18

dotnet add package Syntixi.Attributes --version 1.0.18                
NuGet\Install-Package Syntixi.Attributes -Version 1.0.18                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syntixi.Attributes" Version="1.0.18">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Syntixi.Attributes --version 1.0.18                
#r "nuget: Syntixi.Attributes, 1.0.18"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Syntixi.Attributes as a Cake Addin
#addin nuget:?package=Syntixi.Attributes&version=1.0.18

// Install Syntixi.Attributes as a Cake Tool
#tool nuget:?package=Syntixi.Attributes&version=1.0.18                

Syntixi Attributes

Syntixi Attributes is to enable the embedding of the Syncfusion license key into your code. This is just the package that contains the attributes. The actual generation implementation is in the Syntixi.SourceGenerator package.

Getting Started

To get started with Syntixi Attributes, you'll first need to add the library to your project.

Installation

If you're using NuGet Package Manager, you can install Syntixi Attributes by running the following command in your package manager console:

Install-Package Syntixi.Attributes

Usage

To use Syntixi Attributes, you'll need to add the EmbedSyncfusionLicenseKey attribute to your class. This will embed SYNCFUSION_LICENSE_KEY into your code. This is an example using WPF.

    /// <summary>
    /// WPF Application entry point.
    /// </summary>
    [Syntixi.Attributes.EmbedSyncfusionLicenseKey]
    public partial class App : Application
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="App"/> class.
        /// </summary>
        public App()
        {
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(SYNCFUSION_LICENSE_KEY);
        }
    }

You then need to add the license key to your CI/CD pipeline or your local environment variables. If you are working in a local environment you may need to restart the IDE or codespace in order for the change to be picked up.

Further reading

Have a look at https://docs.dpvreony.com/projects/syntixi/

Contributing or Issues

Contributions and feedback to Syntixi are welcome! Take a look at https://github.com/dpvreony/syntixi/

License

Syntixi Attributes is released under the MIT License. See the LICENSE file in the package for more information.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Syntixi.Attributes:

Package Downloads
Syntixi

Syntixi is a Roslyn source generation toolkit for embedding a Syncfusion license key into your build without exposing it to source control.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.18 611 6/21/2024