30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--Note: Dotnet currently does not allow to build on non-windows platforms when a windows TFM is specified-->
|
|
<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
|
|
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
|
|
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0-windows10.0.17763.0</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>8.0</LangVersion>
|
|
<Description>A cross-platform C# library for native desktop "toast" notifications.</Description>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageProjectUrl>https://github.com/pr8x/DesktopNotifications</PackageProjectUrl>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="0.10.21" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DesktopNotifications.FreeDesktop\DesktopNotifications.FreeDesktop.csproj" />
|
|
<ProjectReference Include="..\DesktopNotifications.Windows\DesktopNotifications.Windows.csproj" />
|
|
<ProjectReference Include="..\DesktopNotifications\DesktopNotifications.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project> |