68d4c265a5
* 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
27 lines
1.1 KiB
XML
27 lines
1.1 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>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<Description>A cross-platform C# library for native desktop "toast" notifications.</Description>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageProjectUrl>https://github.com/pr8x/DesktopNotifications</PackageProjectUrl>
|
|
<Authors>DesktopNotifications.Apple</Authors>
|
|
<Product>DesktopNotifications.Apple</Product>
|
|
<Company>DesktopNotifications.Apple</Company>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DesktopNotifications\DesktopNotifications.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project> |