Skip to content

Commit

Permalink
docs: Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Sep 1, 2023
1 parent 98f81af commit 0b48780
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# DependencyPropertyGenerator
Dependency property, routed event and weak event source generator for WPF/UWP/WinUI/Uno/Avalonia/MAUI platforms.

## Install
```xml
<!-- compile assets are required for attributes. -->
<!-- ExcludeAssets="runtime" excludes DependencyPropertyGenerator.Attributes.dll from your output. -->
<PackageReference Include="DependencyPropertyGenerator" Version="1.0.0" PrivateAssets="all" ExcludeAssets="runtime" />
```
> **_NOTE:_** When installing via NuGet just replace `<IncludeAssets>runtime` with `<IncludeAssets>compile` for it to work properly.
[![Nuget package](https://img.shields.io/nuget/vpre/DependencyPropertyGenerator)](https://www.nuget.org/packages/DependencyPropertyGenerator/)
[![dotnet](https://github.com/HavenDV/DependencyPropertyGenerator/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/HavenDV/DependencyPropertyGenerator/actions/workflows/dotnet.yml)
[![License: MIT](https://img.shields.io/github/license/HavenDV/DependencyPropertyGenerator)](https://github.com/HavenDV/DependencyPropertyGenerator/blob/main/LICENSE.txt)
[![Discord](https://img.shields.io/discord/988253265550532680?label=Discord&logo=discord&logoColor=white&color=d82679)](https://discord.gg/g8u2t9dKgE)

Dependency property, routed event and weak event source generator for WPF/UWP/WinUI/Uno/Avalonia/MAUI platforms.

## Usage
```cs
using DependencyPropertyGenerator;
Expand Down

0 comments on commit 0b48780

Please sign in to comment.