|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 | <PropertyGroup>
|
3 | 3 | <TargetFrameworks>net8.0;net8.0-ios;net8.0-android;net8.0-maccatalyst;net8.0-macos</TargetFrameworks>
|
4 |
| - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> |
| 4 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows</TargetFrameworks> |
5 | 5 | <PackageProjectUrl>https://github.com/aritchie/userdialogs</PackageProjectUrl>
|
6 | 6 | <Product>$(AssemblyName) ($(TargetFramework))</Product>
|
7 | 7 | <Authors>Allan Ritchie</Authors>
|
|
28 | 28 | </PropertyGroup>
|
29 | 29 |
|
30 | 30 | <ItemGroup>
|
31 |
| - <None Include="$(MSBuildThisFileDirectory)nuget.png" Pack="true" PackagePath="icon.png" /> |
32 |
| - <None Include="$(MSBuildThisFileDirectory)nuget.txt" Pack="true" PackagePath="readme.txt" /> |
| 31 | + <None Include="$(SolutionDir)icon.png" Pack="true" PackagePath="icon.png" /> |
| 32 | + <None Include="$(SolutionDir)readme.md" Pack="true" PackagePath="readme.md" /> |
33 | 33 | <None Include="Platforms\**\*.*" />
|
34 | 34 | <Compile Remove="Platforms\**\*.*" />
|
35 | 35 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
|
|
39 | 39 | </PackageReference>
|
40 | 40 | </ItemGroup>
|
41 | 41 |
|
42 |
| - <ItemGroup Condition=" $(TargetFramework.Contains('android')) "> |
| 42 | + <ItemGroup Condition="$(TargetFramework.Contains('android'))"> |
43 | 43 | <Compile Include="Platforms\Shared\**\*.cs" />
|
44 | 44 | <Compile Include="Platforms\Android\**\*.cs" />
|
45 | 45 | <PackageReference Include="AndHUD" Version="2.0.1" />
|
46 | 46 | <PackageReference Include="Xamarin.Google.Android.Material" Version="1.9.0.2" />
|
47 | 47 | </ItemGroup>
|
48 | 48 |
|
49 |
| - <ItemGroup Condition=" $(TargetFramework.Contains('ios')) OR $(TargetFramework.Contains('catalyst')) "> |
| 49 | + <ItemGroup Condition="$(TargetFramework.Contains('ios')) OR $(TargetFramework.Contains('catalyst'))"> |
50 | 50 | <Compile Include="Platforms\Shared\**\*.cs" />
|
51 | 51 | <Compile Include="Platforms\ios\**\*.cs" />
|
52 | 52 | <PackageReference Include="BTProgressHUD" Version="2.0.1" />
|
53 | 53 | </ItemGroup>
|
54 | 54 |
|
55 |
| - <ItemGroup Condition=" $(TargetFramework.StartsWith('macos')) "> |
| 55 | + <ItemGroup Condition="$(TargetFramework.StartsWith('macos'))"> |
56 | 56 | <Compile Include="Platforms\Shared\**\*.cs" />
|
57 | 57 | <Compile Include="Platforms\macOS\**\*.cs" />
|
58 | 58 | </ItemGroup>
|
59 | 59 |
|
60 |
| - <ItemGroup Condition=" $(TargetFramework.StartsWith('windows')) "> |
| 60 | + <ItemGroup Condition="$(TargetFramework.StartsWith('windows'))"> |
61 | 61 | <Compile Include="Platforms\Shared\**\*.cs" />
|
62 | 62 | <Compile Include="Platforms\Windows\**\*.cs" />
|
63 | 63 | <Page Include="Platforms\Windows\**\*.xaml" SubType="Designer" Generator="MSBuild:Compile" />
|
|
0 commit comments