|
| 1 | +<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net5.0-windows;netcoreapp3.1;net45</TargetFrameworks> |
| 5 | + <UseWPF>true</UseWPF> |
| 6 | + <UseWindowsForms>true</UseWindowsForms> |
| 7 | + |
| 8 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 9 | + <IsPackable>true</IsPackable> |
| 10 | + |
| 11 | + <NoWarn>$(NoWarn);NU5048;NU5128</NoWarn> |
| 12 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 13 | + <TreatSpecificWarningsAsErrors /> |
| 14 | + </PropertyGroup> |
| 15 | + |
| 16 | + <PropertyGroup> |
| 17 | + <MinClientVersion>3.3</MinClientVersion> |
| 18 | + <PackageId>Ookii.Dialogs</PackageId> |
| 19 | + <Version>0.0.1-local</Version> |
| 20 | + <Authors>Ookii Dialogs Contributors</Authors> |
| 21 | + <Company>augustoproiete.net</Company> |
| 22 | + <Description>DEPRECATED. This package has been replaced by the package Ookii.Dialogs.Wpf.</Description> |
| 23 | + <Copyright>Copyright (c) 2009-2020 Ookii Dialogs Contributors</Copyright> |
| 24 | + <PackageTags>ookii;dialogs;wpf;windows-presentation-foundation;progress-dialog;task-dialog;credential-dialog;common-file-dialog</PackageTags> |
| 25 | + <PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression> |
| 26 | + <PackageIcon>images\icon.png</PackageIcon> |
| 27 | + <PackageIconUrl>https://raw.githubusercontent.com/augustoproiete/ookii-dialogs-wpf/master/assets/ookii-dialogs-deprecated-nuget.png</PackageIconUrl> |
| 28 | + <PackageProjectUrl>https://github.com/augustoproiete/ookii-dialogs-wpf</PackageProjectUrl> |
| 29 | + <PackageReleaseNotes>https://github.com/augustoproiete/ookii-dialogs-wpf/releases</PackageReleaseNotes> |
| 30 | + <RepositoryType>git</RepositoryType> |
| 31 | + <RepositoryUrl>https://github.com/augustoproiete/ookii-dialogs-wpf.git</RepositoryUrl> |
| 32 | + <IncludeBuildOutput>false</IncludeBuildOutput> |
| 33 | + </PropertyGroup> |
| 34 | + |
| 35 | + <ItemGroup> |
| 36 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> |
| 37 | + </ItemGroup> |
| 38 | + |
| 39 | + <ItemGroup> |
| 40 | + <ProjectReference Include="..\Ookii.Dialogs.Wpf\Ookii.Dialogs.Wpf.csproj" /> |
| 41 | + </ItemGroup> |
| 42 | + |
| 43 | + <ItemGroup> |
| 44 | + <None Remove="*.DotSettings" /> |
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <ItemGroup> |
| 48 | + <Compile Remove="**\*" /> |
| 49 | + </ItemGroup> |
| 50 | + |
| 51 | + <ItemGroup> |
| 52 | + <Content Include="build\**\*" Pack="true" PackagePath="build" /> |
| 53 | + <Content Include="buildMultiTargeting\**\*" Pack="true" PackagePath="buildMultiTargeting" /> |
| 54 | + </ItemGroup> |
| 55 | + |
| 56 | + <ItemGroup> |
| 57 | + <None Include="..\..\assets\ookii-dialogs-deprecated-nuget.png" Pack="true" Visible="false" PackagePath="images\icon.png" /> |
| 58 | + </ItemGroup> |
| 59 | + |
| 60 | + <!-- |
| 61 | + Workaround to force a [lowerBound, upperBound] version constraint in the ProjectReference |
| 62 | + https://github.com/NuGet/Home/issues/5556#issuecomment-585482714 |
| 63 | + --> |
| 64 | + <Target Name="_BoundedProjectReferencesVersion" AfterTargets="_GetProjectReferenceVersions"> |
| 65 | + <ItemGroup> |
| 66 | + <_ProjectReferencesWithBounds Include="@(_ProjectReferencesWithVersions)"> |
| 67 | + <ProjectVersion>[$(Version)]</ProjectVersion> |
| 68 | + </_ProjectReferencesWithBounds> |
| 69 | + </ItemGroup> |
| 70 | + <ItemGroup> |
| 71 | + <_ProjectReferencesWithVersions Remove="@(_ProjectReferencesWithVersions)" /> |
| 72 | + <_ProjectReferencesWithVersions Include="@(_ProjectReferencesWithBounds)" /> |
| 73 | + </ItemGroup> |
| 74 | + </Target> |
| 75 | + |
| 76 | +</Project> |
0 commit comments