Files
AvaloniaDesktopNotifications/DesktopNotifications.FreeDesktop/DesktopNotifications.FreeDesktop.csproj
T
Luis v.d.Eltz 68d4c265a5 Target .Netstandard 2.0 (#8)
* Fix build on non-windows platform

* Update to netstandard 2.0
Fix build on OSX

* Fix netstandard UWP API usage

* Update README.md

* Fix build

* Fix build

* Fix build on *Nix

* Remove Win stuff on nonwindows

* fix compilation

* Fixes

* Fix
2022-03-06 19:13:33 +01:00

28 lines
1.0 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;net5.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<TargetFrameworks>netstandard2.0;net5.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="Tmds.DBus" Version="0.9.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DesktopNotifications\DesktopNotifications.csproj" />
</ItemGroup>
</Project>